Skip to content

Commit 6d5703e

Browse files
authored
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.
1 parent 6bab2e8 commit 6d5703e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/definitions/elements/button.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@
735735
---------------*/
736736

737737
.ui.icon.buttons .button,
738-
.ui.icon.button:not(.animated):not(.compact) {
738+
.ui.icon.button:not(.animated):not(.compact):not(.labeled) {
739739
padding: @verticalPadding @verticalPadding ( @verticalPadding + @shadowOffset );
740740
}
741741
.ui.animated.icon.button > .content > .icon,

0 commit comments

Comments
 (0)