Skip to content

Commit f840753

Browse files
authored
fix(menu): dont show right wrapping border on secondary
When using the wrapping option for some menu variants (such as secondary, text, tabular or borderless) a very right border to the last item is not wanted .
1 parent 17ae2a9 commit f840753

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/definitions/collections/menu.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,15 +1936,15 @@ Floated Menu / Item
19361936
& .item:first-child::before {
19371937
display: none;
19381938
}
1939-
&:not(.tabular) .item {
1939+
&:not(.secondary):not(.text):not(.tabular):not(.borderless) .item {
19401940
&:last-of-type,
19411941
&:last-child {
19421942
border-right: @dividerSize solid @dividerBackground;
19431943
}
19441944
}
19451945
}
19461946
& when (@variationMenuWrapped) {
1947-
.ui.wrapped.menu:not(.tabular) .item {
1947+
.ui.wrapped.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) .item {
19481948
&:first-child {
19491949
border-bottom-left-radius: 0;
19501950
}

0 commit comments

Comments
 (0)