mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Backport #27323 by @wxiaoguang Fix #27313 (see the comment) And some UI improvements: ### Before   ### After    Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		@@ -3,13 +3,18 @@
 | 
			
		||||
  width: fit-content;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ui.modal.g-modal-confirm > .inside.close {
 | 
			
		||||
.ui.modal.g-modal-confirm > .inside.close.icon {
 | 
			
		||||
  padding: 0;
 | 
			
		||||
  width: 1em;
 | 
			
		||||
  height: 1em;
 | 
			
		||||
  top: 1.2em;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ui.modal > .close.icon[height="16"] {
 | 
			
		||||
  top: 0.7em; /* fomantic uses absolute layout, so if we have special icon size, it needs this trick to align vertically */
 | 
			
		||||
  color: var(--color-text-dark);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.ui.modal > .header {
 | 
			
		||||
  /* can't use display:flex, because some headers have space-separated elements, eg: delete branch modal */
 | 
			
		||||
  color: var(--color-text-dark);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user