diff options
author | silverwind <me@silverwind.io> | 2023-08-31 07:01:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 05:01:01 +0000 |
commit | 3d109861ddf95846905143b4cf39129bf253161e (patch) | |
tree | b3d9a4913f1041bbd58f1ae375c6a209e34b63df /web_src/css | |
parent | c35b16a9a491ffbd093bf3e759e94cdbc960fe9c (diff) | |
download | gitea-3d109861ddf95846905143b4cf39129bf253161e.tar.gz gitea-3d109861ddf95846905143b4cf39129bf253161e.zip |
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>
Diffstat (limited to 'web_src/css')
-rw-r--r-- | web_src/css/base.css | 2 | ||||
-rw-r--r-- | web_src/css/repo.css | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index c865e5973e..7c65b6aaf1 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -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); diff --git a/web_src/css/repo.css b/web_src/css/repo.css index bf6f0a7b5e..94745ff4f5 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -236,10 +236,6 @@ } } -.repository.file.list #repo-desc { - font-size: 1.2em; -} - .repository.file.list .repo-path { word-break: break-word; } |