Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
styles: Slightly increase monospace font size.
Anders Kaseorg8f0f0b9e91f8
diff --git a/static/styles/portico/markdown.css b/static/styles/portico/markdown.cssindex 36932c63d46..65b1c8c0157 100644--- a/static/styles/portico/markdown.css+++ b/static/styles/portico/markdown.css@@ -299,7 +299,7 @@code {/* Copied from rendered_markdown.css */- font-size: 0.786em;+ font-size: 0.825em;unicode-bidi: embed;direction: ltr;white-space: initial;diff --git a/static/styles/rendered_markdown.css b/static/styles/rendered_markdown.cssindex 2e3eb6d6b58..157f740110c 100644--- a/static/styles/rendered_markdown.css+++ b/static/styles/rendered_markdown.css@@ -497,8 +497,10 @@ rendered_markdown block; we just need to do further analysis toconfirm doing so won't break anything. */code {- /* 11/14 em, so 11 px when body is the default 14 px */- font-size: 0.786em;+ /* 11.55px when body is the default 14px; this is chosen to be+ slightly above the 11.5px threshold where the height jumps by a+ pixel on most platforms. */+ font-size: 0.825em;unicode-bidi: embed;direction: ltr;color: hsl(0, 0%, 0%);@@ -520,7 +522,7 @@ code {pre {direction: ltr;/* code block text is a bit smaller than normal text */- font-size: 0.786em;+ font-size: 0.825em;line-height: 1.4;white-space: pre;overflow-x: auto;