Skip to content

Commit

Permalink
fix(button): circular spaced and circular icon group was not respected
Browse files Browse the repository at this point in the history
The new circular button group variant did not respect the spaced variant for right margin and did not respect the icon variant for width
  • Loading branch information
lubber-de authored Apr 29, 2024
1 parent fa62639 commit 86f0306
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/definitions/elements/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -1100,12 +1100,13 @@
border-radius: @circularBorderRadius;
}

.ui.circular.buttons .button > .icon,
.ui.circular.button > .icon {
width: @circularIconWidth;
vertical-align: baseline;
}

.ui.circular.buttons:not(.vertical) .button {
.ui.circular.buttons:not(.vertical):not(.spaced) .button {
margin-right: @circularGroupMargin;
}

Expand Down

0 comments on commit 86f0306

Please sign in to comment.