mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-26 00:54:27 +00:00
Merge branch 'feature-41133/side_menu_sticky' into feature-25999/C4
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user