Use vmax instead of vh
This commit is contained in:
parent
000bb3ea47
commit
7b0acd007b
@ -7,7 +7,7 @@
|
|||||||
body {
|
body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 100vh;
|
min-height: 100dvh;
|
||||||
font-family: 'Source Code Pro', monospace;
|
font-family: 'Source Code Pro', monospace;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
color: var(--color);
|
color: var(--color);
|
||||||
@ -79,7 +79,8 @@ footer {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: max(2rem, env(safe-area-inset-bottom)); /* Account for safe area */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.hamburger {
|
.hamburger {
|
||||||
|
Loading…
Reference in New Issue
Block a user