forked from forgejo/forgejo
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:
parent
c35b16a9a4
commit
3d109861dd
4 changed files with 5 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue