fix code highlight spacing when in a list
rm redundant code
This commit is contained in:
parent
f5c5546249
commit
3167acd32a
@ -145,7 +145,7 @@
|
|||||||
|
|
||||||
.post-content .highlight:not(.gist .highlight),
|
.post-content .highlight:not(.gist .highlight),
|
||||||
.post-content pre {
|
.post-content pre {
|
||||||
margin: auto 0 20px;
|
margin: 10px auto;
|
||||||
background: var(--hljs-bg) !important;
|
background: var(--hljs-bg) !important;
|
||||||
border-radius: var(--radius)
|
border-radius: var(--radius)
|
||||||
}
|
}
|
||||||
@ -162,10 +162,6 @@
|
|||||||
margin: 0
|
margin: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-content .highlight {
|
|
||||||
margin: 10px auto
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-content .highlighttable {
|
.post-content .highlighttable {
|
||||||
table-layout: fixed
|
table-layout: fixed
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user