mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	ui: Show update branch item in merge box when it's necessary (#11761)
* ui: Show update branch item in merge box when it's necessary As title, should show it without care about whether this pr can be merged. fix #10959 Signed-off-by: a1012112796 <1012112796@qq.com> * fix ui * Fix ui, thanks to @silverwind. Co-authored-by: silverwind <me@silverwind.io> * fix lint * Update templates/repo/issue/view_content/pull.tmpl Co-authored-by: silverwind <me@silverwind.io> * Apply review suggestion Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
		@@ -995,8 +995,17 @@
 | 
			
		||||
                    > .merge-section {
 | 
			
		||||
                        background-color: #f7f7f7;
 | 
			
		||||
 | 
			
		||||
                        .item + .item {
 | 
			
		||||
                            padding-top: .5rem;
 | 
			
		||||
                        .item {
 | 
			
		||||
                            padding: .25rem 0;
 | 
			
		||||
                        }
 | 
			
		||||
 | 
			
		||||
                        .item-section {
 | 
			
		||||
                            display: flex;
 | 
			
		||||
                            align-items: center;
 | 
			
		||||
                            justify-content: space-between;
 | 
			
		||||
                            padding: 0;
 | 
			
		||||
                            margin-top: -.25rem;
 | 
			
		||||
                            margin-bottom: -.25rem;
 | 
			
		||||
                        }
 | 
			
		||||
 | 
			
		||||
                        .divider {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user