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.

rendered_markdown: Scale code-span padding with font size.

Karl Stolleya2892e713c13
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index fe800f0c625..5fabcbfc910 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -788,7 +788,8 @@
unicode-bidi: embed;
direction: ltr;
white-space: pre-wrap;
- padding: 1px 2px;
+ /* 1px at 14px/1em */
+ padding: 0.0714em 2px;
color: var(--color-markdown-code-text);
background-color: var(--color-markdown-code-background);
border-radius: 3px;