diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-04-16 22:38:28 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-04-16 22:38:28 -0700 |
| commit | 9dd318313325e0d8925e6259db48709886e143c2 (patch) | |
| tree | cd9d6c0f4175fa36edbe80321c3f43c04d4f5a08 /src/app/game/page.styles.ts | |
| parent | 284739d21c8c46ced93eba458083f379d0d134b0 (diff) | |
fix: disable scrolling on typing game screen
Diffstat (limited to 'src/app/game/page.styles.ts')
| -rw-r--r-- | src/app/game/page.styles.ts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/app/game/page.styles.ts b/src/app/game/page.styles.ts index fdb743e..a1c6cc8 100644 --- a/src/app/game/page.styles.ts +++ b/src/app/game/page.styles.ts @@ -1,4 +1,4 @@ -import styled, { keyframes, css } from "styled-components"; +import styled, { keyframes, css, createGlobalStyle } from "styled-components"; /* ----- ANIMATIONS ----- */ @@ -40,6 +40,14 @@ export const glowAnim = keyframes` 100% { box-shadow: 0 0 4px 0px rgba(124, 58, 237, 0.4); } `; +export const GameGlobalStyle = createGlobalStyle` + html, + body { + height: 100%; + overflow: hidden; + } +`; + /* ----- LAYOUT ----- */ export const GameRoot = styled.div` |
