aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/routes/index.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-02-07 22:50:02 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-02-07 22:50:02 +0100
commit69f33763ab7ff5876cff23fb90cfd2497b3fe371 (patch)
treef1583832b78915d81cc4d53a3d325e3f16601519 /web/pw-server/src/routes/index.svelte
parentdc415a81259dba1afdc3570c9882288940bd3c29 (diff)
downloadplanetwars.dev-69f33763ab7ff5876cff23fb90cfd2497b3fe371.tar.xz
planetwars.dev-69f33763ab7ff5876cff23fb90cfd2497b3fe371.zip
styling: make sure visualizer does not overflow
Diffstat (limited to 'web/pw-server/src/routes/index.svelte')
-rw-r--r--web/pw-server/src/routes/index.svelte3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte
index 7cecba7..f8dc03f 100644
--- a/web/pw-server/src/routes/index.svelte
+++ b/web/pw-server/src/routes/index.svelte
@@ -121,11 +121,13 @@
height: 40px;
background-color: $bg-color;
border-bottom: 1px solid;
+ flex-shrink: 0;
}
.container {
display: flex;
flex-grow: 1;
+ min-height: 0;
}
.sidebar-left {
@@ -140,6 +142,7 @@
}
.editor-container {
flex-grow: 1;
+ flex-shrink: 1;
overflow: hidden;
}