mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Align dropdown right (#14406)
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
				
			|||||||
{{if .ctx.IsSigned}}
 | 
					{{if .ctx.IsSigned}}
 | 
				
			||||||
<div class="item action ui pointing select-reaction dropdown" data-action-url="{{ .ActionURL }}">
 | 
					<div class="item action ui pointing select-reaction dropdown top right" data-action-url="{{ .ActionURL }}">
 | 
				
			||||||
	<a class="add-reaction">
 | 
						<a class="add-reaction">
 | 
				
			||||||
		{{svg "octicon-smiley"}}
 | 
							{{svg "octicon-smiley"}}
 | 
				
			||||||
	</a>
 | 
						</a>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,5 +1,5 @@
 | 
				
			|||||||
{{if .ctx.IsSigned}}
 | 
					{{if .ctx.IsSigned}}
 | 
				
			||||||
<div class="item action ui pointing custom dropdown context-dropdown">
 | 
					<div class="item action ui pointing custom dropdown top right context-dropdown">
 | 
				
			||||||
	<a class="context-menu">
 | 
						<a class="context-menu">
 | 
				
			||||||
		{{svg "octicon-kebab-horizontal"}}
 | 
							{{svg "octicon-kebab-horizontal"}}
 | 
				
			||||||
	</a>
 | 
						</a>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1784,7 +1784,7 @@ a.ui.basic.label:hover {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* fix misaligned right buttons on box headers */
 | 
					/* fix misaligned right buttons on box headers */
 | 
				
			||||||
.ui.attached.header .right {
 | 
					.ui.attached.header .right:not(.dropdown) {
 | 
				
			||||||
  position: absolute;
 | 
					  position: absolute;
 | 
				
			||||||
  right: .78571429rem;
 | 
					  right: .78571429rem;
 | 
				
			||||||
  top: 0;
 | 
					  top: 0;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user