Web: fix unexpected scrollbar on Firefox

Firefox will still have an additional 1px vertical line at the bottom of
the page, even when `#app` should take 100% of the vertical space. This
causes a scrollbar to show up. Setting the height at `calc(100vh - 1px)`
solves this.
This commit is contained in:
Sybren A. Stüvel 2022-04-15 14:24:29 +02:00
parent 5c28fcd1b7
commit 1847c5219d

View File

@ -135,8 +135,11 @@ export default {
--grid-gap: 4px;
}
html,
body {
height: calc(100vh - 1px);
margin: 0;
padding: 0;
color: #EEEEEE;
background-color: #222222;
@ -149,7 +152,7 @@ body {
display: grid;
width: 100%;
height: 100vh;
height: 100%;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: var(--header-height) 1fr var(--footer-height);
grid-gap: var(--grid-gap);