adopts the side menu for the desktop and mobile view

This commit is contained in:
SimonGschnell
2024-09-02 10:42:01 +02:00
parent 3a466e8e0f
commit 8c5ca521ac
+12
View File
@@ -192,6 +192,10 @@ html {
padding: var(--fhc-cis-main-py) var(--fhc-cis-main-px);
}
#nav-main-sticky {
max-height: calc(100vh - var(--fhc-cis-header-height));
}
/* desktop */
@media (min-width: 992px) {
body {
@@ -235,6 +239,11 @@ html {
#nav-main-sticky {
position: sticky;
top: var(--fhc-cis-header-height);
display: flex;
flex-direction: column;
}
#nav-main-sticky > :not(#nav-main-toggle) {
overflow: auto;
}
#nav-main-toggle {
width: 0;
@@ -314,6 +323,9 @@ html {
height: var(--fhc-cis-header-height);
width: auto;
}
#nav-main-sticky {
overflow: auto;
}
#nav-search {
position: relative;
}