mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Improve issue list layout (#26983)
Align everything with a new layout. * Use "baseline" for some special elements, the "flex-item-icon" is for the issue list only at the moment and I think it should be general enough now (but not using "flex-item-leading" anymore in this case). * Make the labels stretch themselves.
This commit is contained in:
		| @@ -34,9 +34,11 @@ | ||||
| } | ||||
|  | ||||
| .flex-item .flex-item-icon { | ||||
|   display: flex; | ||||
|   align-items: center; | ||||
|   height: 20px; /* match the default flex-item-title height */ | ||||
|   align-self: baseline; /* mainly used by the issue list, to align the leading icon with the title */ | ||||
| } | ||||
|  | ||||
| .flex-item .flex-item-icon + .flex-item-main { | ||||
|   align-self: baseline; | ||||
| } | ||||
|  | ||||
| .flex-item .flex-item-trailing { | ||||
| @@ -59,7 +61,6 @@ | ||||
|   font-weight: var(--font-weight-semibold); | ||||
|   word-break: break-word; | ||||
|   min-width: 0; | ||||
|   min-height: 20px; | ||||
| } | ||||
|  | ||||
| .flex-item .flex-item-title a { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user