Skip to content

Commit 5420232

Browse files
authored
refactor: do not set gap on side-nav item without children (#10548)
1 parent 4eb6990 commit 5420232

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/side-nav/src/styles/vaadin-side-nav-item-base-styles.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ const sideNavItem = css`
4545
--vaadin-side-nav-item-text-color: var(--vaadin-text-color-disabled);
4646
}
4747
48+
:host(:not([has-children])) {
49+
gap: 0;
50+
}
51+
4852
[part='link'] {
4953
flex: auto;
5054
min-width: 0;

0 commit comments

Comments
 (0)