We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b23ca5 commit 872c7b3Copy full SHA for 872c7b3
src/css/nav.css
@@ -33,8 +33,8 @@
33
font-size: calc(15.5 / var(--rem-base) * 1rem);
34
flex: none;
35
position: static;
36
- top: 0;
37
visibility: visible;
+ height: var(--nav-height--desktop);
38
}
39
40
@@ -57,11 +57,11 @@
57
58
@media screen and (min-width: 1024px) {
59
.nav {
60
- top: var(--navbar-height);
+ top: var(--navbar-height); /* fixed position is relative to viewport */
61
box-shadow: none;
62
position: fixed;
63
- height: var(--nav-height--desktop);
64
width: inherit;
+ height: inherit;
65
66
67
0 commit comments