diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2022-06-26 18:07:11 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2022-06-26 18:07:11 -0500 |
| commit | 8d759b8d5c66f91029da3544b634e5f6c7335994 (patch) | |
| tree | 53d5d1e8fd8d25f7d794e34a215d2b7e111e542a /src/App.svelte | |
| parent | aac7d5f8f05b661db4415d2cbb7dc351b53d774b (diff) | |
Use viewport (vh or vw) rather than percent (percent of parent container)
Diffstat (limited to 'src/App.svelte')
| -rw-r--r-- | src/App.svelte | 5 |
1 files changed, 3 insertions, 2 deletions
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%; } } </style> |
