From 6d5703eb5d6ef9e72b5077b9a1dbf9d823ddd7d1 Mon Sep 17 00:00:00 2001 From: Marco 'Lubber' Wienkoop Date: Thu, 3 Dec 2020 10:17:49 +0100 Subject: [PATCH] fix(button): labeled icon buttons have wrong margin A labeled icon button got a wrong margin especially when used for multiple dropdown buttons as the specificity changed in #1571 However labeled icon buttons are never supposed to be displayed without text so the selector for single icon buttons should not select labeled buttons. --- src/definitions/elements/button.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/elements/button.less b/src/definitions/elements/button.less index 8670b8649f..c05b51d309 100755 --- a/src/definitions/elements/button.less +++ b/src/definitions/elements/button.less @@ -735,7 +735,7 @@ ---------------*/ .ui.icon.buttons .button, -.ui.icon.button:not(.animated):not(.compact) { +.ui.icon.button:not(.animated):not(.compact):not(.labeled) { padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset ); } .ui.animated.icon.button > .content > .icon,