summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-11-18 12:15:08 -0500
committerFreya Murphy <freya@freyacat.org>2025-11-18 12:15:08 -0500
commitefd177b6aa765142445dc1e157e63326f5a9baa5 (patch)
tree1b10b02bcd3d5b1f3ad7123bcef6c13e7c39a774 /game
parentfix whitespace alignment (diff)
downloadDungeonCrawl-efd177b6aa765142445dc1e157e63326f5a9baa5.tar.gz
DungeonCrawl-efd177b6aa765142445dc1e157e63326f5a9baa5.tar.bz2
DungeonCrawl-efd177b6aa765142445dc1e157e63326f5a9baa5.zip
wasm: make logs resizable
Diffstat (limited to 'game')
-rw-r--r--game/www/style.css10
1 files changed, 8 insertions, 2 deletions
diff --git a/game/www/style.css b/game/www/style.css
index 82ae311..09d3e3a 100644
--- a/game/www/style.css
+++ b/game/www/style.css
@@ -87,10 +87,16 @@ body, html {
border-radius: 5px;
color: var(--fg);
padding: 5px;
+ width: 600px;
+ height: 300px;
+ min-width: 600px;
+ min-height: 300px;
+ resize: both;
+ overflow: auto;
.content {
- width: 600px;
- height: 200px;
+ height: calc(100% - 30px);
+ width: calc(100% - 10px);
font-size: 15px;
margin: 5px;
padding: 5px;