mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 00:54:43 +01:00 
			
		
		
		
	Fix code wrap for unbroken lines (#23268)
## The Problem `overflow-wrap: break-word` doesn't work well for unbroken lines. Use `overflow-wrap: anywhere` instead, and remove legacy alias `word-wrap` ## Before  ## After  --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
		
							parent
							
								
									47bb5f11cb
								
							
						
					
					
						commit
						787a05a3a2
					
				| @ -2121,8 +2121,7 @@ a.ui.label:hover { | ||||
|   font: 12px var(--fonts-monospace); | ||||
|   white-space: pre-wrap; | ||||
|   word-break: break-all; | ||||
|   overflow-wrap: break-word; | ||||
|   word-wrap: break-word; | ||||
|   overflow-wrap: anywhere; | ||||
| } | ||||
| 
 | ||||
| .blame .code-inner { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user