mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 03:00:45 +00:00 
			
		
		
		
	Fix various misalignments and overflows (#34227)
--------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -2,17 +2,15 @@ | ||||
|   color: var(--color-text-dark) !important; | ||||
| } | ||||
|  | ||||
| .code-line-button { | ||||
| .ui.button.code-line-button { | ||||
|   border: 1px solid var(--color-secondary); | ||||
|   border-radius: var(--border-radius); | ||||
|   padding: 1px 4px !important; | ||||
|   padding: 1px 4px; | ||||
|   margin: 0; | ||||
|   min-height: 0; | ||||
|   position: absolute; | ||||
|   font-family: var(--fonts-regular); | ||||
|   left: 0; | ||||
|   transform: translateX(calc(-50% + 6px)); | ||||
|   cursor: pointer; | ||||
|   left: 6px; | ||||
| } | ||||
|  | ||||
| .code-line-button:hover { | ||||
|   background: var(--color-secondary) !important; | ||||
| .ui.button.code-line-button:hover { | ||||
|   background: var(--color-secondary); | ||||
| } | ||||
|   | ||||
| @@ -10,6 +10,7 @@ | ||||
|   padding: 2px; | ||||
|   position: absolute; | ||||
|   margin-left: -22px; | ||||
|   min-height: 0; | ||||
|   z-index: 5; | ||||
|   opacity: 0; | ||||
|   transition: transform 0.1s ease-in-out; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user