Skip to content

Commit b918300

Browse files
committed
fix label margin
1 parent 7f2be67 commit b918300

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

web_src/css/repo.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,8 @@ If the labels-list itself needs some layouts, use extra classes or "tw" helpers.
15721572
padding-bottom: 0;
15731573
}
15741574

1575-
.with-labels-list-inline .labels-list a > .ui.label {
1575+
.with-labels-list-inline .labels-list .ui.label + .ui.label,
1576+
.with-labels-list-inline .labels-list a + a {
15761577
margin-left: 0.25em;
15771578
}
15781579

@@ -1588,6 +1589,10 @@ If the labels-list itself needs some layouts, use extra classes or "tw" helpers.
15881589
gap: 0 !important;
15891590
}
15901591

1592+
.ui.label.scope-parent > .ui.label {
1593+
margin: 0 !important; /* scoped label's margin is handled by the parent */
1594+
}
1595+
15911596
.archived-label {
15921597
filter: grayscale(0.5);
15931598
opacity: 0.5;
@@ -1596,19 +1601,16 @@ If the labels-list itself needs some layouts, use extra classes or "tw" helpers.
15961601
.ui.label.scope-left {
15971602
border-bottom-right-radius: 0;
15981603
border-top-right-radius: 0;
1599-
margin-right: 0;
16001604
}
16011605

16021606
.ui.label.scope-middle {
16031607
border-radius: 0;
16041608
margin-left: 0;
1605-
margin-right: 0;
16061609
}
16071610

16081611
.ui.label.scope-right {
16091612
border-bottom-left-radius: 0;
16101613
border-top-left-radius: 0;
1611-
margin-left: 0;
16121614
}
16131615

16141616
.repo-button-row {

0 commit comments

Comments
 (0)