Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Move `pre code` reset rules to `rendered_markdown` class block.
Lauryn Menardf1e60014fa31
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.cssindex 0522f8dd2e1..3618ca3a0cd 100644--- a/web/styles/rendered_markdown.css+++ b/web/styles/rendered_markdown.css@@ -527,6 +527,15 @@}}+ pre code {+ font-size: inherit;+ padding: 0;+ white-space: inherit;+ overflow-x: scroll;+ color: inherit;+ border: 0;+ }+/* Style copy-to-clipboard button inside code blocks */.copy_codeblock {visibility: hidden;@@ -646,12 +655,6 @@ pre {padding: 5px 7px 3px;}-.rendered_markdown pre code {- font-size: inherit;- padding: 0;- white-space: inherit;-}-/* Both the horizontal scrollbar in <pre/> as well asvertical scrollbar in the <textarea/> is styled similarly. */.message_edit_form textarea,@@ -674,15 +677,6 @@ pre {}}-pre code {- overflow-x: scroll;- white-space: pre;- padding: 0;- color: inherit;- background-color: transparent;- border: 0;-}-/* Style inline code inside a linkto look more like a normal link */a code {