mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 08:34:29 +00:00
fixed issue with sidenav covering search results/usermenu
This commit is contained in:
+11
-1
@@ -147,6 +147,8 @@ html {
|
|||||||
--fhc-cis-menu-lvl-5-color-hover: var(--fhc-text);
|
--fhc-cis-menu-lvl-5-color-hover: var(--fhc-text);
|
||||||
--fhc-cis-grade-positive: var(--fhc-success);
|
--fhc-cis-grade-positive: var(--fhc-success);
|
||||||
--fhc-cis-grade-negative: var(--fhc-danger);
|
--fhc-cis-grade-negative: var(--fhc-danger);
|
||||||
|
|
||||||
|
--fhc-offcanvas-zindex: 1045;
|
||||||
}
|
}
|
||||||
|
|
||||||
#themeSwitch i{
|
#themeSwitch i{
|
||||||
@@ -375,7 +377,7 @@ html {
|
|||||||
/* searchbar */
|
/* searchbar */
|
||||||
#nav-search {
|
#nav-search {
|
||||||
background-color: var(--fhc-primary);
|
background-color: var(--fhc-primary);
|
||||||
z-index: 1;
|
z-index: calc(var(--fhc-offcanvas-zindex) + 1) !important;
|
||||||
}
|
}
|
||||||
#nav-search.me-3 {
|
#nav-search.me-3 {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
@@ -413,10 +415,18 @@ html {
|
|||||||
color: var(--fhc-link) !important;
|
color: var(--fhc-link) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nav-main {
|
||||||
|
z-index: var(--fhc-offcanvas-zindex);
|
||||||
|
}
|
||||||
|
|
||||||
#nav-main-sticky {
|
#nav-main-sticky {
|
||||||
max-height: calc(100vh - var(--fhc-cis-header-height));
|
max-height: calc(100vh - var(--fhc-cis-header-height));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#nav-user-menu {
|
||||||
|
z-index: calc(var(--fhc-offcanvas-zindex) + 1);
|
||||||
|
}
|
||||||
|
|
||||||
#nav-user-menu img {
|
#nav-user-menu img {
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
height: calc( 3 * var(--fhc-cis-header-py));
|
height: calc( 3 * var(--fhc-cis-header-py));
|
||||||
|
|||||||
Reference in New Issue
Block a user