File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Expand file tree Collapse file tree 3 files changed +17
-6
lines changed 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">
46+ 	<div class="ui list labels-list tw-my-2 tw-flex tw-flex-wrap ">
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 1919								{{template "repo/commit_statuses" dict "Status" (index $.CommitLastStatus .PullRequest.ID) "Statuses" (index $.CommitStatuses .PullRequest.ID)}}
2020							{{end}}
2121						{{end}}
22- 						<span class="labels-list tw-ml-1 ">
22+ 						<span class="labels-list">
2323							{{range .Labels}}
2424								<a href="?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}{{if ne $.listType "milestone"}}&milestone={{$.MilestoneID}}{{end}}&assignee={{$.AssigneeID}}&poster={{$.PosterID}}{{if $.ShowArchivedLabels}}&archived=true{{end}}">{{ctx.RenderUtils.RenderLabel .}}</a>
2525							{{end}}
Original file line number Diff line number Diff line change @@ -1545,10 +1545,21 @@ td .commit-summary {
15451545}
15461546
15471547.labels-list  {
1548-   display :  inline-flex;
1549-   flex-wrap :  wrap;
1550-   gap :  2.5px  ;
1551-   align-items :  center;
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 ;
15521563}
15531564
15541565.labels-list  .label ,  .scope-parent  >  .label  {
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments