mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Improve issue history dialog and make poster can delete their own history (#27323)
Fix #27313 (see the comment) And some UI improvements: ### Before   ### After   
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); | ||||
|   | ||||
| @@ -2578,12 +2578,14 @@ tbody.commit-list { | ||||
|  | ||||
| .comment-diff-data { | ||||
|   background: var(--color-code-bg); | ||||
|   min-height: 12em; | ||||
|   max-height: calc(100vh - 10.5rem); | ||||
|   overflow-y: auto; | ||||
| } | ||||
|  | ||||
| .comment-diff-data pre { | ||||
|   line-height: 18px; | ||||
|   margin: 1em; | ||||
|   white-space: pre-wrap; | ||||
|   word-break: break-all; | ||||
|   overflow-wrap: break-word; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user