mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-30 19:08:37 +00:00 
			
		
		
		
	Remove some unused CSS styles (#26852)
1. `icons`: globally searched, no use in templates. 2. toast's `display: inline-block;`: there is a `display: flex` below.
This commit is contained in:
		| @@ -1647,10 +1647,6 @@ img.ui.avatar, | |||||||
|   margin-top: 1px; |   margin-top: 1px; | ||||||
| } | } | ||||||
|  |  | ||||||
| i.icons .icon:first-child { |  | ||||||
|   margin-right: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .ui.label { | .ui.label { | ||||||
|   padding: 0.3em 0.5em; |   padding: 0.3em 0.5em; | ||||||
|   transition: none; |   transition: none; | ||||||
| @@ -1686,14 +1682,6 @@ a.ui.active.label:hover { | |||||||
|   color: var(--color-label-text); |   color: var(--color-label-text); | ||||||
| } | } | ||||||
|  |  | ||||||
| .ui.label > .detail .icons { |  | ||||||
|   margin-right: 0.25em; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .ui.label > .detail .icons .icon { |  | ||||||
|   margin-right: 0; |  | ||||||
| } |  | ||||||
|  |  | ||||||
| .lines-blame-btn { | .lines-blame-btn { | ||||||
|   padding-left: 10px; |   padding-left: 10px; | ||||||
|   padding-right: 10px; |   padding-right: 10px; | ||||||
| @@ -2099,6 +2087,7 @@ table th[data-sortt-desc] .svg { | |||||||
|   vertical-align: -0.15em; |   vertical-align: -0.15em; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | /* for the jquery.minicolors plugin */ | ||||||
| .minicolors-panel { | .minicolors-panel { | ||||||
|   background: var(--color-secondary-dark-1) !important; |   background: var(--color-secondary-dark-1) !important; | ||||||
| } | } | ||||||
|   | |||||||
| @@ -28,7 +28,6 @@ | |||||||
|   border-radius: var(--border-radius); |   border-radius: var(--border-radius); | ||||||
|   background: transparent; |   background: transparent; | ||||||
|   border: none; |   border: none; | ||||||
|   display: inline-block; |  | ||||||
|   display: flex; |   display: flex; | ||||||
|   width: 30px; |   width: 30px; | ||||||
|   height: 30px; |   height: 30px; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user