Merge branch 'feature-41133/side_menu_sticky' into feature-25999/C4

This commit is contained in:
Harald Bamberger
2024-09-09 11:51:34 +02:00
2 changed files with 39 additions and 21 deletions
+16
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 {
@@ -232,6 +236,15 @@ html {
width: 100%;
height: 100%;
}
#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;
z-index: 1;
@@ -310,6 +323,9 @@ html {
height: var(--fhc-cis-header-height);
width: auto;
}
#nav-main-sticky {
overflow: auto;
}
#nav-search {
position: relative;
}