Skip to content

Commit a014033

Browse files
authored
fix(Navigation): hide empty menu list (#1125)
1 parent 2c6b4c1 commit a014033

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/components/src/components/Navigation/Navigation.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
display: flex;
66
flex-direction: column;
77
row-gap: var(--menu--item-to-item-spacing);
8+
9+
&:empty {
10+
display: none;
11+
}
812
}
913

1014
.item {

0 commit comments

Comments
 (0)