mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Fix scrollable header on dropdowns (#11893)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							5fcd18a2c4
						
					
				
				
					commit
					1fb783efb0
				
			@@ -1239,7 +1239,7 @@ i.icon.centerlock {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
/* limit width of all direct dropdown menu children */
 | 
					/* limit width of all direct dropdown menu children */
 | 
				
			||||||
/* https://github.com/go-gitea/gitea/pull/10835 */
 | 
					/* https://github.com/go-gitea/gitea/pull/10835 */
 | 
				
			||||||
.dropdown:not(.selection) > .menu:not(.review-box) > * {
 | 
					.dropdown:not(.selection) > .menu:not(.review-box) > *:not(.header) {
 | 
				
			||||||
    max-width: 300px;
 | 
					    max-width: 300px;
 | 
				
			||||||
    overflow-x: hidden;
 | 
					    overflow-x: hidden;
 | 
				
			||||||
    text-overflow: ellipsis;
 | 
					    text-overflow: ellipsis;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user