Skip to content

Commit

Permalink
fix(button): fix padding for compact labeled icon button
Browse files Browse the repository at this point in the history
The icon padding had to be adjusted for `compact labeled icon button`, because the positioning of the icon was optimized to support loading icons in #361 

Closes #598
  • Loading branch information
lubber-de authored and Sean committed Apr 5, 2019
1 parent 5a59ae3 commit 488a4dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@
.ui.compact.labeled.icon.button {
padding: @compactVerticalPadding (@compactHorizontalPadding + @labeledIconWidth) ( @compactVerticalPadding + @shadowOffset );
}
.ui.compact.labeled.icon.buttons .button > .icon,
.ui.compact.labeled.icon.button > .icon {
padding: @compactVerticalPadding 0 @compactVerticalPadding 0;
}

/*-------------------
Sizes
Expand Down

0 comments on commit 488a4dc

Please sign in to comment.