Skip to content

Commit

Permalink
Prevent accidental scrolling on player page.
Browse files Browse the repository at this point in the history
  • Loading branch information
robholland committed Nov 20, 2024
1 parent 7ac49a8 commit a3c66fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snakes/src/routes/team/[team]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@

<svelte:head>
<title>{team.toUpperCase()} Lobby</title>
<style>
body {
overflow: hidden;
}
</style>
</svelte:head>

{#if snake && playing}
Expand Down

0 comments on commit a3c66fe

Please sign in to comment.