Set custom properties for sticky navbar height
This commit is contained in:
parent
3641c15cea
commit
d6ea036102
|
@ -53,7 +53,7 @@
|
|||
|
||||
.sidebar--sticky {
|
||||
position: sticky;
|
||||
top: 4rem;
|
||||
top: var(--sz-navbar-ht);
|
||||
}
|
||||
|
||||
/* Desktop main content layout */
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
|
||||
--sz-paragraph-margin: 1.15em;
|
||||
--sz-main-padding: clamp(1rem, 5%, 4rem);
|
||||
--sz-navbar-ht: 4rem;
|
||||
}
|
||||
|
||||
/* ------------------- */
|
||||
|
|
Loading…
Reference in New Issue