summaryrefslogtreecommitdiffstats
path: root/web_src/css/markup/content.css
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-04-06 20:07:08 +0800
committerGitHub <noreply@github.com>2024-04-06 20:07:08 +0800
commit7396172a02a9ea8d80f9763469fd65a5a12ff3f7 (patch)
tree542c878fb484a660504d8588c2bcff6cd1c3ff2a /web_src/css/markup/content.css
parent9c1f4dae2ee85b748250ba7b161d70bd529088d3 (diff)
downloadgitea-7396172a02a9ea8d80f9763469fd65a5a12ff3f7.tar.gz
gitea-7396172a02a9ea8d80f9763469fd65a5a12ff3f7.zip
Fix code block style for code preview (#30298)
Fix #30292 To avoid unnecessary style overriding, use "div" instead of "code"
Diffstat (limited to 'web_src/css/markup/content.css')
-rw-r--r--web_src/css/markup/content.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/markup/content.css b/web_src/css/markup/content.css
index 376d3030c7..d44e727a25 100644
--- a/web_src/css/markup/content.css
+++ b/web_src/css/markup/content.css
@@ -432,7 +432,7 @@
text-align: right;
}
-.markup code:not(.code-inner),
+.markup code,
.markup tt {
padding: 0.2em 0.4em;
margin: 0;