From 8cc68824bd4e10efb523f536407b7220178a67fe Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:02:09 +0000 Subject: [PATCH] Changes --- src/pages/Tetris.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pages/Tetris.tsx b/src/pages/Tetris.tsx index be1eb12..35a62bc 100644 --- a/src/pages/Tetris.tsx +++ b/src/pages/Tetris.tsx @@ -123,8 +123,8 @@ const Tetris = () => { const isMobile = window.innerWidth < 768; if (isMobile) { const maxWidth = window.innerWidth - 40; - const maxHeight = window.innerHeight - 440; - return Math.min(Math.floor(maxWidth / BOARD_WIDTH), Math.floor(maxHeight / BOARD_HEIGHT), 24); + const maxHeight = window.innerHeight - 320; + return Math.min(Math.floor(maxWidth / BOARD_WIDTH), Math.floor(maxHeight / BOARD_HEIGHT), 20); } if (gameMode === '2p') return isFullscreen ? 26 : 22; return isFullscreen ? 34 : 28; @@ -588,21 +588,21 @@ const Tetris = () => {
LINES
{lines}