From b55ac0a0ff9d463bd10ec93c70c825c68556e3b8 Mon Sep 17 00:00:00 2001 From: Hadeed Ahmad Date: Tue, 4 Jun 2024 22:16:26 +0400 Subject: [PATCH] Make responsive --- src/app.jsx | 2 +- src/game.jsx | 36 ++++++++++++++++++++++-------------- src/mainMenu.jsx | 8 ++++---- 3 files changed, 27 insertions(+), 19 deletions(-) diff --git a/src/app.jsx b/src/app.jsx index 49e6232..0a6e8ed 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -8,7 +8,7 @@ export default () => { const players = useStore((state) => state.players); return ( -
+
{isGameRunning ? : }
); diff --git a/src/game.jsx b/src/game.jsx index e1455cf..822ce18 100644 --- a/src/game.jsx +++ b/src/game.jsx @@ -52,15 +52,15 @@ const GridButton = ({ onClick, symbol, turn, disabled, won }) => { return ( ); @@ -146,10 +146,10 @@ export default ({ players }) => {
logo
-
-
- -

Turn

+
+
+ +

Turn

@@ -180,7 +180,9 @@ export default ({ players }) => {