diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-01-21 23:31:17 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2021-01-22 00:33:09 +0530 |
| commit | 3167acd32a2a2eb678e399b528b1ef3b9ffc41c5 (patch) | |
| tree | b4f06f69c2d978a2c4e5ba101cd1c8dbb48b0174 /assets/css/post-single.css | |
| parent | f5c554624948742923d3af2af9b6bfd9fe7983a8 (diff) | |
fix code highlight spacing when in a list
rm redundant code
Diffstat (limited to 'assets/css/post-single.css')
| -rw-r--r-- | assets/css/post-single.css | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 1415431..2729dba 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -145,7 +145,7 @@ .post-content .highlight:not(.gist .highlight), .post-content pre { - margin: auto 0 20px; + margin: 10px auto; background: var(--hljs-bg) !important; border-radius: var(--radius) } @@ -162,10 +162,6 @@ margin: 0 } -.post-content .highlight { - margin: 10px auto -} - .post-content .highlighttable { table-layout: fixed } |
