Skip to content

best way to save what you love

web: fix app height & overscroll

wukkoba2d0bb67fd3
diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte
index fe5f0ffc..6a54a4f4 100644
--- a/web/src/routes/+layout.svelte
+++ b/web/src/routes/+layout.svelte
@@ -88,6 +88,9 @@
margin: 0;
background-color: var(--sidebar-bg);
color: var(--secondary);
+ height: 100vh;
+ overflow: hidden;
+ overscroll-behavior-y: none;
}
:global(*) {
@@ -207,7 +210,9 @@
}
#cobalt {
- height: 100vh;
+ position: fixed;
+ height: 100%;
+ width: 100%;
display: grid;
grid-template-columns: calc(var(--sidebar-width) + 8px) 1fr;
overflow: hidden;