修复因边距导致代码块与行号对不齐的问题 (#2294)

* 修改代码块边距

* Update src/data/extra/themes/vue-light/web.css

Co-authored-by: Le Tan <tamlokveer@gmail.com>
This commit is contained in:
两双筷子 2022-11-21 22:46:45 +08:00 committed by GitHub
parent e47b813b69
commit f2c7abcc6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,8 @@ pre {
code {
font-family: "YaHei Consolas Hybrid", Consolas, Monaco, "Andale Mono", Monospace, "Courier New";
color: #e96900;
padding: 2px 4px;
padding: 0 4px;
margin: 4px 0;
border-radius: 2px;
background-color: #f8f8f8;
word-break: break-word;