Skip to content

Commit

Permalink
fix(label): grouping image labels margin
Browse files Browse the repository at this point in the history
This PR supports grouping of image labels and fixes bottom margin
  • Loading branch information
lubber-de authored Oct 25, 2024
1 parent 3d58f7f commit 30a40f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/definitions/elements/label.less
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ a.ui.label {
Types
*******************************/
& when (@variationLabelImage) {
.ui.image.labels .label,
.ui.image.label {
width: auto;
margin-top: 0;
Expand All @@ -199,6 +200,10 @@ a.ui.label {
padding: @imageLabelPadding;
}
}
.ui.labels .image.label,
.ui.image.labels .label {
margin-bottom: @groupVerticalMargin;
}

.ui.image.label img {
display: inline-block;
Expand Down

0 comments on commit 30a40f0

Please sign in to comment.