Fix css selector for gap element in submenu

This commit is contained in:
Johannes Zellner
2025-12-17 01:06:39 +01:00
parent 6fa95d9f4f
commit 3b64d8b0a5
+2 -2
View File
@@ -128,7 +128,7 @@ function onBackdrop(event) {
background-color: #e9ecef;
}
.sidebar-item-menu .sidebar-item:first-child::before {
.sidebar-item-menu > div:first-of-type::before {
content: "";
position: absolute;
top: 0;
@@ -171,7 +171,7 @@ function onBackdrop(event) {
.sidebar-item-menu,
.sidebar-item-menu-open,
.sidebar-item-menu .sidebar-item:first-child::before {
.sidebar-item-menu > div:first-of-type::before {
background-color: var(--card-background);
}
}