Skip to content

Commit

Permalink
fix(button): labeled icon buttons have wrong margin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lubber-de committed Dec 3, 2020
1 parent 6bab2e8 commit 6d5703e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/elements/button.less
Expand Up @@ -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,
Expand Down

0 comments on commit 6d5703e

Please sign in to comment.