Skip to content

Commit 5f37928

Browse files
committed
use correct variable for max height of navbar menu on mobile
1 parent c78e053 commit 5f37928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/css/header.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ body {
260260
.navbar-menu.is-active {
261261
display: block;
262262
box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1);
263-
max-height: calc(var(--viewport-height) - var(--navbar-height));
263+
max-height: var(--body-min-height);
264264
overflow-y: auto;
265265
}
266266

0 commit comments

Comments
 (0)