fix code highlight spacing when in a list

rm redundant code
This commit is contained in:
Aditya Telange 2021-01-21 23:31:17 +05:30
parent f5c5546249
commit 3167acd32a

View File

@ -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
} }