From ae4375d8b492c244328a88190e8ed10c8dbd2fda Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 20 Apr 2021 16:21:51 +0200 Subject: all pages without inline styles --- pages/game.tsx | 8 +------- pages/login.tsx | 2 +- pages/register.tsx | 2 +- styles/game.css | 5 +++++ 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/pages/game.tsx b/pages/game.tsx index 9e702ed..de2c089 100644 --- a/pages/game.tsx +++ b/pages/game.tsx @@ -65,13 +65,7 @@ function VoerGame(props: { }); }, []); - return
+ return
- +
submitLogin(e, toast)}> diff --git a/pages/register.tsx b/pages/register.tsx index 63f51f7..2709a10 100644 --- a/pages/register.tsx +++ b/pages/register.tsx @@ -88,7 +88,7 @@ export default function RegisterPage() { return (
- +
submitRegister(e, toast)}> diff --git a/styles/game.css b/styles/game.css index de00b1c..f454691 100644 --- a/styles/game.css +++ b/styles/game.css @@ -68,3 +68,8 @@ .gameBar .move.move-a { background-color: var(--error); } .gameBar .move.move-b { background-color: var(--confirm); } +.voerGame { + max-width: 100vh; + margin: 0 auto; +} + -- cgit v1.2.3