Skip to content

Commit f25778c

Browse files
committed
Better fix for scoped label break across lines using inline-flex
1 parent bc7a351 commit f25778c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web_src/less/_repository.less

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2825,15 +2825,14 @@
28252825

28262826
.labels-list .label {
28272827
margin: 2px 0;
2828-
display: inline-block !important;
2828+
display: inline-flex !important;
28292829
line-height: 1.3em; // there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly
28302830
}
28312831

2832-
// Scoped labels with different colors on left and right, and slanted divider in the middle
2832+
// Scoped labels with different colors on left and right
28332833
.scope-parent {
28342834
background: none !important;
28352835
padding: 0 !important;
2836-
white-space: nowrap; // Don't break left and right part across lines
28372836
}
28382837

28392838
.ui.label.scope-left {

0 commit comments

Comments
 (0)