mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-04 05:18:25 +00:00 
			
		
		
		
	Fix issue sidebar menus having an infinite height (#10239)
* Revert "Limit label list height on edit issue page" * Fix issue sidebar menus having an infinite height
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
				
			|||||||
				<strong>{{.i18n.Tr "repo.issues.new.labels"}}</strong>
 | 
									<strong>{{.i18n.Tr "repo.issues.new.labels"}}</strong>
 | 
				
			||||||
				{{svg "octicon-gear" 16}}
 | 
									{{svg "octicon-gear" 16}}
 | 
				
			||||||
			</span>
 | 
								</span>
 | 
				
			||||||
			<div class="filter menu labels" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/labels">
 | 
								<div class="filter menu" data-action="update" data-issue-id="{{$.Issue.ID}}" data-update-url="{{$.RepoLink}}/issues/labels">
 | 
				
			||||||
				<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div>
 | 
									<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div>
 | 
				
			||||||
				{{range .Labels}}
 | 
									{{range .Labels}}
 | 
				
			||||||
					<a class="{{if .IsChecked}}checked{{end}} item has-emoji" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}
 | 
										<a class="{{if .IsChecked}}checked{{end}} item has-emoji" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -83,6 +83,7 @@
 | 
				
			|||||||
    .metas {
 | 
					    .metas {
 | 
				
			||||||
        .menu {
 | 
					        .menu {
 | 
				
			||||||
            overflow-x: auto;
 | 
					            overflow-x: auto;
 | 
				
			||||||
 | 
					            max-height: 300px;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        .ui.list {
 | 
					        .ui.list {
 | 
				
			||||||
@@ -152,8 +153,6 @@
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        &.labels {
 | 
					        &.labels {
 | 
				
			||||||
            max-height: 300px;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            .label-filter .menu .info {
 | 
					            .label-filter .menu .info {
 | 
				
			||||||
                display: inline-block;
 | 
					                display: inline-block;
 | 
				
			||||||
                padding: 9px 7px 7px 7px;
 | 
					                padding: 9px 7px 7px 7px;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user