mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Render code blocks in repo description (#26830)
Backtick syntax now works in repo description too. Also, I replaced the CSS for this was a new single class, making it more flexible and not dependent on a parent. Also, very slightly reduced font size from 16.8px to 16px. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -454,7 +454,7 @@ a.label, | ||||
|   background: var(--color-hover); | ||||
| } | ||||
|  | ||||
| .issue-title code { | ||||
| .inline-code-block { | ||||
|   padding: 2px 4px; | ||||
|   border-radius: var(--border-radius-medium); | ||||
|   background-color: var(--color-markup-code-block); | ||||
|   | ||||
| @@ -236,10 +236,6 @@ | ||||
|   } | ||||
| } | ||||
|  | ||||
| .repository.file.list #repo-desc { | ||||
|   font-size: 1.2em; | ||||
| } | ||||
|  | ||||
| .repository.file.list .repo-path { | ||||
|   word-break: break-word; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user