summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-18 11:13:35 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-18 11:13:35 -0500
commitfd5177f6d995a8c0d35b2fb3869b59df7b022718 (patch)
tree07bdecc7ce6eb5e27b78818a9b207b49a78e168d
parentdungeon: switch rng to rand_xoshiro (diff)
downloadDungeonCrawl-fd5177f6d995a8c0d35b2fb3869b59df7b022718.tar.gz
DungeonCrawl-fd5177f6d995a8c0d35b2fb3869b59df7b022718.tar.bz2
DungeonCrawl-fd5177f6d995a8c0d35b2fb3869b59df7b022718.zip
wasm: fix canvas height
-rw-r--r--game/www/style.css2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/www/style.css b/game/www/style.css
index 80c8747..70595a4 100644
--- a/game/www/style.css
+++ b/game/www/style.css
@@ -31,6 +31,7 @@ body, html {
#canvas {
width: 100vw;
+ height: calc(100vh - 60px);
}
#options {
@@ -38,6 +39,7 @@ body, html {
color: var(--fg);
position: relative;
width: 100%;
+ height: 60px;
padding: 10px;
display: flex;
flex-direction: row;