From c0e15bccf3c33aaaf992fe2a0514f3de4c5ffef2 Mon Sep 17 00:00:00 2001 From: datalore Date: Sat, 17 Feb 2024 19:04:31 +0100 Subject: [PATCH] feat: Improved layout on mobile devices --- src/app/components/bingo.tsx | 2 +- src/app/components/bingocontroller.tsx | 2 +- src/app/components/bingoitem.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/bingo.tsx b/src/app/components/bingo.tsx index a952d80..4040892 100644 --- a/src/app/components/bingo.tsx +++ b/src/app/components/bingo.tsx @@ -13,7 +13,7 @@ export default function Bingo({size, items}: Props){ rows[i] = activeItems.slice(i * size, (i + 1) * size); } return( - +
{rows.map((item, index) => )} diff --git a/src/app/components/bingocontroller.tsx b/src/app/components/bingocontroller.tsx index 69c75cf..d2e2435 100644 --- a/src/app/components/bingocontroller.tsx +++ b/src/app/components/bingocontroller.tsx @@ -22,7 +22,7 @@ export default function BingoController({buzzwords, maxSize} : {buzzwords?: stri const sizeError = (items.length < size); return( <> -
+
setSize(+s)}/> diff --git a/src/app/components/bingoitem.tsx b/src/app/components/bingoitem.tsx index 2571d22..5eb4eda 100644 --- a/src/app/components/bingoitem.tsx +++ b/src/app/components/bingoitem.tsx @@ -9,6 +9,6 @@ export default function BingoItem({text}: Props){ const [clicked, setClicked] = React.useState(false); return( -
+ ); }
setClicked(!clicked)}>{text} setClicked(!clicked)}>{text}