From 3167acd32a2a2eb678e399b528b1ef3b9ffc41c5 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 21 Jan 2021 23:31:17 +0530 Subject: [PATCH] fix code highlight spacing when in a list rm redundant code --- assets/css/post-single.css | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 1415431c..2729dba6 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 }