Skip to content

Commit 86607e1

Browse files
committed
Maybe fix mobile
1 parent 8125fcf commit 86607e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css/layouts.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ body {
4040
width: 100%;
4141
height: var(--navbar-height);
4242
flex-direction: row;
43-
margin-top: calc(100vh - var(--navbar-height));
43+
margin-top: calc(100dvh - var(--navbar-height));
4444

4545
.divider {
4646
height: calc(100% - var(--gap));

css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
display: none;
7474
position: absolute;
7575
width: 100%;
76-
height: calc(100vh - var(--navbar-height));
76+
height: calc(100dvh - var(--navbar-height));
7777
top: 0;
7878
left: 0;
7979
padding-left: calc(var(--page-padding) + var(--half-navbar));

0 commit comments

Comments
 (0)