Skip to content

Commit 957fe3b

Browse files
committed
Fix navigation on WebKit
The navigation was overflowing vertically and being hidden on larger screen sizes because the grid container height was set to 100%. It seems fluid units and grid do not mix well in WebKit.
1 parent 43115bf commit 957fe3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/styles/header.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
@include m-medium {
9999
.header {
100100
grid-template-columns: 1fr 2fr 1fr;
101-
height: 100%;
101+
height: unset;
102102
}
103103
.menu {
104104
display: none;
@@ -119,7 +119,7 @@
119119
position: unset;
120120
}
121121
.header.open-nav {
122-
height: 100%;
122+
height: unset;
123123
padding-bottom: unset;
124124
}
125125
.nav-list.open-nav {

0 commit comments

Comments
 (0)