Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

documentation: Add horizontal scrollbar to code blocks in help center.

Joelute4c6f85727c0b
diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.css
index b066472e3a8..788f5b77928 100644
--- a/web/styles/portico/markdown.css
+++ b/web/styles/portico/markdown.css
@@ -143,6 +143,11 @@
.codehilite {
background-color: hsl(0, 0%, 100%);
+
+ pre {
+ white-space: pre;
+ overflow-x: auto;
+ }
}
& > ul {