File tree Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Expand file tree Collapse file tree 3 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 6868 <a target="_blank" href="{{$.Issue.Repo.Link}}/issues?labels={{.ID}}">{{ctx.RenderUtils.RenderLabel .}}</a>
6969 {{end}}
7070 </div>
71- <div class="tw-flex-1"></div>
7271 <div class="issue-card-assignees">
7372 {{range .Assignees}}
7473 <a target="_blank" href="{{.HomeLink}}" data-tooltip-content="{{ctx.Locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{ctx.AvatarUtils.Avatar . 24}}</a>
Original file line number Diff line number Diff line change 8181 visibility : hidden;
8282}
8383
84- .issue-sidebar-combo > .ui .list .labels-list {
85- display : flex;
86- flex-wrap : wrap;
87- overflow : hidden;
88- gap : 0.25em ;
89- }
90-
9184@media (max-width : 767.98px ) {
9285 .issue-content-left ,
9386 .issue-content-right {
@@ -1556,13 +1549,27 @@ td .commit-summary {
15561549}
15571550
15581551.labels-list {
1559- display : contents; /* let parent to layout, recommended to use flex gap */
1552+ display : inline-flex;
1553+ flex-wrap : wrap;
1554+ overflow : hidden;
1555+ gap : 0.25rem ;
1556+ line-height : 1 ;
1557+ }
1558+
1559+ /* To let labels break up and wrap across multiple line, we use display: contents here. The parent
1560+ element (.flex-item .flex-item-title) must have 0.25rem gap for consistent label gap. */
1561+ .flex-list .labels-list {
1562+ display : contents;
1563+ }
1564+
1565+ .issue-content-right .labels-list {
1566+ max-width : 100% ;
15601567}
15611568
1562- .labels-list .label , .scope-parent > .label {
1569+ .labels-list .label ,
1570+ .scope-parent > .label {
15631571 padding : 0 6px ;
15641572 min-height : 20px ;
1565- line-height : 1.3 ; /* there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly */
15661573}
15671574
15681575/* Scoped labels with different colors on left and right */
Original file line number Diff line number Diff line change 2828.issue-card-bottom {
2929 display : flex;
3030 width : 100% ;
31- flex-wrap : wrap;
32- gap : 0.5em 0.25em ;
33- align-items : center;
31+ gap : 0.25em ;
3432}
3533
3634.issue-card-assignees {
You can’t perform that action at this time.
0 commit comments