mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Fix runner button height (#24338)
Fixes https://github.com/go-gitea/gitea/issues/24326. Set size class and downsize any such buttons that have a dropdown icon because the dropdown icon increases button height artificially. [`:has()`](https://developer.mozilla.org/en-US/docs/Web/CSS/:has) is not supported in Firefox yet, but works fine with the experimental pref enabled. I see this as a graceful degradation in unsupporting browsers.
This commit is contained in:
		| @@ -2493,6 +2493,12 @@ a.ui.basic.label:hover { | ||||
|   font-weight: normal; | ||||
| } | ||||
|  | ||||
| /* reduce height of buttons with dropdown icon */ | ||||
| .ui.attached.header .right .button:has(.dropdown.icon) { | ||||
|   padding-top: 7px; | ||||
|   padding-bottom: 7px; | ||||
| } | ||||
|  | ||||
| /* fix misaligned right buttons on box headers */ | ||||
| .ui.attached.header .right:not(.dropdown) { | ||||
|   position: absolute; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user