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}