diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 79ccbec6..b9b97097 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -153,8 +153,7 @@ border-radius: var(--radius); } -.post-content .highlight:not(table), -.post-content pre { +.post-content .highlight:not(table) { margin: 10px auto; background: var(--hljs-bg) !important; border-radius: var(--radius); @@ -207,8 +206,8 @@ margin: auto 0; padding: 10px; color: rgb(213, 213, 214); - background: 0 0; - border-radius: 0; + background: var(--hljs-bg) !important; + border-radius: var(--radius); overflow-x: auto; word-break: break-all; }