diff --git a/dashboard/src/components/SideBarItem.vue b/dashboard/src/components/SideBarItem.vue index 3c52345ed..e7ef402a8 100644 --- a/dashboard/src/components/SideBarItem.vue +++ b/dashboard/src/components/SideBarItem.vue @@ -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); } }