From 9dd318313325e0d8925e6259db48709886e143c2 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 16 Apr 2026 22:38:28 -0700 Subject: fix: disable scrolling on typing game screen --- src/app/game/page.styles.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/app/game/page.styles.ts') 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` -- cgit v1.2.3