Fix code block style for code preview (#30298)

Fix #30292

To avoid unnecessary style overriding, use "div" instead of "code"
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-04-06 20:07:08 +08:00
1 parent 9c1f4dae2e
commit 7396172a02
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -432,7 +432,7 @@
text-align: right;
}
.markup code:not(.code-inner),
.markup code,
.markup tt {
padding: 0.2em 0.4em;
margin: 0;