Skip to content

Commit 30a40f0

Browse files
authored
fix(label): grouping image labels margin
This PR supports grouping of image labels and fixes bottom margin
1 parent 3d58f7f commit 30a40f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/definitions/elements/label.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ a.ui.label {
184184
Types
185185
*******************************/
186186
& when (@variationLabelImage) {
187+
.ui.image.labels .label,
187188
.ui.image.label {
188189
width: auto;
189190
margin-top: 0;
@@ -199,6 +200,10 @@ a.ui.label {
199200
padding: @imageLabelPadding;
200201
}
201202
}
203+
.ui.labels .image.label,
204+
.ui.image.labels .label {
205+
margin-bottom: @groupVerticalMargin;
206+
}
202207

203208
.ui.image.label img {
204209
display: inline-block;

0 commit comments

Comments
 (0)