mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Improve label and text wrapping (#14113)
* Improve label wrapping - Adjust issue list styles so labels can wrap on the same line as the text. This relies on `display: inline` with the HTML whitespace being used as the separator. - Add global word-break: break-word. This should generally avoid text overflows in various places. * add whitespace to history labels * use overflow-wrap * restore word-break rules * use correct pre * use better selector for middle align Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
		@@ -5,5 +5,5 @@
 | 
			
		||||
	style="color: {{.label.ForegroundColor}}; background-color: {{.label.Color}}"
 | 
			
		||||
	title="{{.label.Description | RenderEmojiPlain}}"
 | 
			
		||||
>
 | 
			
		||||
		{{.label.Name | RenderEmoji}}
 | 
			
		||||
	{{.label.Name | RenderEmoji}}
 | 
			
		||||
</a>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user