Skip to content

Commit 1eae14c

Browse files
committed
Sidebar: Fix empty whitespace
1 parent 5b3d6a3 commit 1eae14c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

assets/css/v2/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,11 @@ button:has(~ .product-selector[style*="none"]) > .product-selector-button-icon {
912912
padding: 0.25rem 0.75rem;
913913
}
914914

915+
/* handles bug in hugo where non-rendered headers */
916+
li:empty {
917+
display: none;
918+
}
919+
915920
li:first-child {
916921
padding-top: 0;
917922
}

0 commit comments

Comments
 (0)