diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 30db3e4e..d4eea9c4 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -122,7 +122,7 @@ } .post-content table th, -.post-content table:not(.highlighttable) td { +.post-content:not(.gist) > table:not(.highlighttable) td { min-width: 80px; padding: 12px 8px; line-height: 1.5; @@ -138,7 +138,7 @@ margin: auto 0 } -.post-content .highlight, +.post-content:not(.gist) > .highlight, .post-content pre { margin: auto calc(var(--gap) * -1) 32px; background: var(--hljs-bg) !important; diff --git a/assets/css/reset.css b/assets/css/reset.css index 646e0d8a..96fb9af1 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -79,7 +79,7 @@ table { width: 100%; border-collapse: collapse; border-spacing: 0; - overflow-x: scroll; + overflow-x: auto; word-break: keep-all }