Skip to content

Commit 1293a4c

Browse files
authored
fix: Sidebar showing lines when there is a singular item (#177)
1 parent e35bebd commit 1293a4c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

assets/css/v2/style.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,10 @@ atomic-search-layout atomic-layout-section[section="search"] {
707707
position: relative;
708708
}
709709

710-
.sidebar .sidebar-navigation .parent-collapsible-content::before {
710+
.sidebar
711+
.sidebar-navigation
712+
.parent-collapsible-content
713+
li:not(:only-child)::before {
711714
content: "";
712715
position: absolute;
713716
border-left: black 1px solid;
@@ -717,7 +720,11 @@ atomic-search-layout atomic-layout-section[section="search"] {
717720
}
718721

719722
/* First Sidebar Nav Horizontal Lines */
720-
.sidebar .sidebar-navigation .parent-collapsible-content .parent-box::before {
723+
.sidebar
724+
.sidebar-navigation
725+
.parent-collapsible-content
726+
li:not(:only-child)
727+
.parent-box::before {
721728
content: "";
722729
display: block;
723730
border-top: black 1px solid;

0 commit comments

Comments
 (0)