mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
adopts the side menu for the desktop and mobile view
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 {
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user