Skip to content

Commit

Permalink
fix(menu): dont show right wrapping border on secondary
Browse files Browse the repository at this point in the history
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 .
  • Loading branch information
lubber-de authored May 5, 2023
1 parent 17ae2a9 commit f840753
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/definitions/collections/menu.less
Original file line number Diff line number Diff line change
Expand Up @@ -1936,15 +1936,15 @@ Floated Menu / Item
& .item:first-child::before {
display: none;
}
&:not(.tabular) .item {
&:not(.secondary):not(.text):not(.tabular):not(.borderless) .item {
&:last-of-type,
&:last-child {
border-right: @dividerSize solid @dividerBackground;
}
}
}
& when (@variationMenuWrapped) {
.ui.wrapped.menu:not(.tabular) .item {
.ui.wrapped.menu:not(.secondary):not(.text):not(.tabular):not(.borderless) .item {
&:first-child {
border-bottom-left-radius: 0;
}
Expand Down

0 comments on commit f840753

Please sign in to comment.