From f84075310cb6115a13590477b24b8b36dbbd491f Mon Sep 17 00:00:00 2001 From: Marco 'Lubber' Wienkoop Date: Fri, 5 May 2023 13:48:48 +0200 Subject: [PATCH] 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 . --- src/definitions/collections/menu.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/definitions/collections/menu.less b/src/definitions/collections/menu.less index 5e5a34e5a8..ab481dca8c 100755 --- a/src/definitions/collections/menu.less +++ b/src/definitions/collections/menu.less @@ -1936,7 +1936,7 @@ 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; @@ -1944,7 +1944,7 @@ Floated Menu / Item } } & 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; }