Fix code block style inside "<ul>"

This commit is contained in:
nanxiaobei 2019-09-13 21:54:47 +08:00
parent f6b107c399
commit 66c7b00718
1 changed files with 3 additions and 0 deletions

View File

@ -389,6 +389,9 @@ img {
background: var(--hljs-bg) !important;
border-radius: var(--radius);
}
.post-content ul pre {
margin-left: calc(var(--gap) * -2);
}
.post-content .highlight pre {
margin-left: 0;
margin-right: 0;