mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Fix merge button dropdown triangle alignment (#14041)
https://github.com/go-gitea/gitea/pull/14028 had improved dropdown triangle display for buttons with text but had regressed it for buttons without. Fix this by adding a class to prevent horizontal margin adjustment. Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		@@ -343,7 +343,7 @@
 | 
			
		||||
										</span>
 | 
			
		||||
									</button>
 | 
			
		||||
									{{if gt $prUnit.PullRequestsConfig.AllowedMergeStyleCount 1}}
 | 
			
		||||
										<div class="ui dropdown icon button">
 | 
			
		||||
										<div class="ui dropdown icon button no-text">
 | 
			
		||||
											{{svg "octicon-triangle-down" 14 "dropdown icon"}}
 | 
			
		||||
											<div class="menu">
 | 
			
		||||
												{{if $prUnit.PullRequestsConfig.AllowMerge}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user