File tree Expand file tree Collapse file tree 4 files changed +11
-16
lines changed Expand file tree Collapse file tree 4 files changed +11
-16
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>
7172 <div class="issue-card-assignees">
7273 {{range .Assignees}}
7374 <a target="_blank" href="{{.HomeLink}}" data-tooltip-content="{{ctx.Locale.Tr "repo.projects.column.assigned_to"}} {{.Name}}">{{ctx.AvatarUtils.Avatar . 28}}</a>
Original file line number Diff line number Diff line change 4343 </div>
4444 </div>
4545
46- <div class="ui list labels-list tw-my-2 tw-flex tw-flex-wrap ">
46+ <div class="ui list labels-list">
4747 <span class="item empty-list {{if $data.SelectedLabelIDs}}tw-hidden{{end}}">{{ctx.Locale.Tr "repo.issues.new.no_label"}}</span>
4848 {{range $data.AllLabels}}
4949 {{if .IsChecked}}
Original file line number Diff line number Diff line change 7777 visibility : hidden;
7878}
7979
80+ .issue-sidebar-combo > .ui .list .labels-list {
81+ display : flex;
82+ flex-wrap : wrap;
83+ overflow : hidden;
84+ gap : 0.25em ;
85+ }
86+
8087@media (max-width : 767.98px ) {
8188 .issue-content-left ,
8289 .issue-content-right {
@@ -1545,21 +1552,7 @@ td .commit-summary {
15451552}
15461553
15471554.labels-list {
1548- display : contents; /* enable the list to break across multiple lines */
1549- line-height : 16px ;
1550- }
1551-
1552- .labels-list > * {
1553- margin-right : .25rem ;
1554- margin-bottom : .25rem ;
1555- }
1556-
1557- .labels-list > : last-child {
1558- margin-right : 0 ;
1559- }
1560-
1561- # issue-list .labels-list > * {
1562- margin : 0 ; /* gap from `.flex-item .flex-item-title` is in effect */
1555+ display : contents; /* let parent to layout, recommended to use flex gap */
15631556}
15641557
15651558.labels-list .label , .scope-parent > .label {
Original file line number Diff line number Diff line change 2929 display : flex;
3030 width : 100% ;
3131 flex-wrap : wrap;
32+ gap : 0.25em ;
3233}
3334
3435.issue-card-assignees {
You can’t perform that action at this time.
0 commit comments