Skip to content

Commit 62260b0

Browse files
authored
feat(dropdown): support submenus for selection dropdown
This PR fixes the upper/lower border of submenus when used inside a unlimited selection dropdown
1 parent c6df31f commit 62260b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/definitions/modules/dropdown.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ select.ui.dropdown {
466466
box-shadow: @selectionMenuBoxShadow;
467467
transition: @selectionMenuTransition;
468468
}
469-
.ui.selection.dropdown@{notPointing}@{notFloating} .menu {
469+
.ui.selection.dropdown@{notPointing}@{notFloating} > .menu {
470470
border-top-width: 0;
471471
border-radius: @selectionMenuBorderRadius;
472472
}
@@ -1313,7 +1313,7 @@ select.ui.dropdown {
13131313

13141314
& when (@variationDropdownSelection) {
13151315
/* Selection */
1316-
.ui.ui.upward.selection.dropdown@{notPointing}@{notFloating} .menu {
1316+
.ui.ui.upward.selection.dropdown@{notPointing}@{notFloating} > .menu {
13171317
border-top-width: @menuBorderWidth;
13181318
border-bottom-width: 0;
13191319
box-shadow: @upwardSelectionMenuBoxShadow;

0 commit comments

Comments
 (0)