Update navbar height on mobile viewport
This commit is contained in:
@@ -5,7 +5,8 @@
|
|||||||
--ui-container: 64rem;
|
--ui-container: 64rem;
|
||||||
--ui-container-narrow: 48rem;
|
--ui-container-narrow: 48rem;
|
||||||
--ui-header-logo-inverted: 1;
|
--ui-header-logo-inverted: 1;
|
||||||
--ui-header-height: calc(var(--ui-spacing)*14);
|
--ui-header-height: calc(var(--ui-spacing)*14);
|
||||||
|
--ui-header-height-collapsed: calc(var(--ui-spacing)*12);
|
||||||
|
|
||||||
--color-surface-background: #f9f9f9;
|
--color-surface-background: #f9f9f9;
|
||||||
--color-on-surface-background: #111111;
|
--color-on-surface-background: #111111;
|
||||||
@@ -105,8 +106,13 @@ a {
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
height: var(--ui-header-height);
|
height: var(--ui-header-height-collapsed);
|
||||||
z-index: 998;
|
z-index: 998;
|
||||||
|
}
|
||||||
|
@media screen and (min-width: 1024px) {
|
||||||
|
.web-header, .hamburger-menu-header {
|
||||||
|
height: var(--ui-header-height);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.web-header.web-header-bg,
|
.web-header.web-header-bg,
|
||||||
.hamburger-menu-header.hamburger-menu-header-bg {
|
.hamburger-menu-header.hamburger-menu-header-bg {
|
||||||
|
|||||||
Reference in New Issue
Block a user