mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Fix whitespace rendering in diff (#13415)
- Introduce new .code-inner class that sets the CSS attributes on rendered code lines like view,blame and diff. - Rename .wrap class to .word-break to reflect what it actually does - Remove .raw which was only used on webhook page - Set white-space: pre-wrap except on blame where it can break the layout Fixes: https://github.com/go-gitea/gitea/issues/13406
This commit is contained in:
		@@ -3239,6 +3239,17 @@ td.blob-excerpt {
 | 
			
		||||
  padding-left: 8px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.webhook-info {
 | 
			
		||||
  padding: 7px 12px;
 | 
			
		||||
  margin: 10px 0;
 | 
			
		||||
  background-color: #f8f8f8;
 | 
			
		||||
  border: 1px solid #dddddd;
 | 
			
		||||
  border-radius: 3px;
 | 
			
		||||
  font-size: 13px;
 | 
			
		||||
  line-height: 1.5;
 | 
			
		||||
  overflow: auto;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.title_wip_desc {
 | 
			
		||||
  margin-top: 1em;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user