Update navbar height on mobile viewport
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
--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,9 +106,14 @@ 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 {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
|
|||||||
Reference in New Issue
Block a user