mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
fixed sidebar submenus to never bug out (hopefully) 🤞
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
#menu ul.noscroll:has(li.hasChildren.active) > li {
|
#menu ul:has(li.hasChildren.active) li.hasChildren.active {
|
||||||
box-shadow: inset 0px 0 var(--item-colour, transparent) !important;
|
box-shadow: inset 0px 0 var(--item-colour, transparent) !important;
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu ul.noscroll:not(:has(li.hasChildren.active)) {
|
#menu ul:not(:has(li.hasChildren.active)) {
|
||||||
overflow: scroll !important;
|
overflow: scroll !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu > ul.noscroll:has(li.hasChildren.active) > li > label,
|
#menu > ul:has(li.hasChildren.active) > li > label,
|
||||||
#menu > ul.noscroll:has(li.hasChildren.active) > li > svg,
|
#menu > ul:has(li.hasChildren.active) > li > svg,
|
||||||
#menu > ul.noscroll ul.noscroll:has(li.hasChildren.active) > li > label,
|
#menu > ul ul:has(li.hasChildren.active) > li > label,
|
||||||
#menu > ul.noscroll ul.noscroll:has(li.hasChildren.active) > li > svg {
|
#menu > ul ul:has(li.hasChildren.active) > li > svg {
|
||||||
transform: translateX(-20rem);
|
transform: translateX(-20rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub:has(ul.noscroll>li.hasChildren.active) > .nav > .back {
|
.sub:has(ul>li.hasChildren.active) > .nav > .back {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,6 +32,6 @@
|
|||||||
transition: transform 0.3s ease;
|
transition: transform 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu > ul.noscroll:has(li.hasChildren.active) > li.active {
|
#menu > ul:has(li.hasChildren.active) > li.active {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user