From 8d759b8d5c66f91029da3544b634e5f6c7335994 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sun, 26 Jun 2022 18:07:11 -0500 Subject: Use viewport (vh or vw) rather than percent (percent of parent container) --- src/App.svelte | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/App.svelte b/src/App.svelte index d2765c4..a9084c4 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -46,7 +46,8 @@ border-bottom-color: rgb(148 163 184); border-bottom-width: 4px; text-align: center; - height: 10%; + /* height: 9%; */ + height: 10vh; overflow: hidden; flex: none; } @@ -55,7 +56,7 @@ /* flex-direction: row; */ flex: 1 1 auto; overflow-y: auto; - /* height: 100%; */ + height: 100%; } } -- cgit v1.2.3