From ba2d0bb67fd38e44a58821a31ed1a06b4d9a7bdc Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 25 Jun 2024 16:14:54 +0600 Subject: [PATCH] web: fix app height & overscroll --- web/src/routes/+layout.svelte | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;