diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-07-15 02:46:14 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-07-15 02:46:14 +0530 |
commit | 72e89afac0f11d59e4399f245e6dcc728bec38d9 (patch) | |
tree | 481d5b9fb330f1a3528aa772dacf4a20e035fe65 /src/components/style.css | |
parent | 6036a220e251a9963e62508ae7dfeb68b2f289a2 (diff) |
cleaned up code, added timeout, etc
Diffstat (limited to 'src/components/style.css')
-rw-r--r-- | src/components/style.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/style.css b/src/components/style.css index 79ef49e..ade1d46 100644 --- a/src/components/style.css +++ b/src/components/style.css @@ -35,8 +35,8 @@ body { flex-direction: column; justify-content: center; align-items: center; - height: 90%; - width: 100%; + height: calc(100vh - 6rem); + width: 100vw; } .GamemodeChooser .GamemodeButton { @@ -72,6 +72,7 @@ body { left: 0; right: 0; margin: 1rem auto; width: 30rem; + min-height: 9rem; } .ScoreBoard { @@ -82,6 +83,7 @@ body { } .Grid { + height: calc(100vh - 17rem); display: grid; grid-template-columns: 9rem 9rem 9rem; grid-template-rows: 9rem 9rem 9rem; @@ -105,6 +107,7 @@ body { } .Footer { + min-height: 6rem; position: relative; bottom: 0; width: 100%; |