diff --git a/app/styles/markdown.scss b/app/styles/markdown.scss index d90555a5..ec2052c4 100644 --- a/app/styles/markdown.scss +++ b/app/styles/markdown.scss @@ -839,7 +839,7 @@ .markdown-body .highlight pre, .markdown-body pre { - padding: 16px; + padding: 16px 16px 8px 16px; overflow: auto; font-size: 85%; line-height: 1.45; @@ -849,11 +849,11 @@ .markdown-body pre code, .markdown-body pre tt { - display: inline; - max-width: auto; + display: inline-block; + max-width: 100%; padding: 0; margin: 0; - overflow: visible; + overflow-x: scroll; line-height: inherit; word-wrap: normal; background-color: transparent;