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.

markdown: Re-add bootstrap CSS for blockquote used in markdown.

Sahil Batrafdc0fc9d97c3
diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.css
index 503b322ddc7..dda83ec9459 100644
--- a/web/styles/portico/markdown.css
+++ b/web/styles/portico/markdown.css
@@ -474,4 +474,17 @@
display: block;
}
}
+
+ & blockquote {
+ padding: 0 0 0 15px;
+ margin: 0 0 20px;
+ border-left: 5px solid hsl(0deg 0% 93%);
+
+ & p {
+ font-size: 17.5px;
+ font-weight: 300;
+ line-height: 1.25;
+ margin-bottom: 0;
+ }
+ }
}
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index c61aff9ac48..bea628427c4 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -98,10 +98,8 @@
/* Formatting for blockquotes */
& blockquote {
padding-left: 5px;
- margin-left: 10px;
- margin-top: 5px;
- margin-bottom: 6px;
- border-left-color: hsl(0deg 0% 87%);
+ margin: 5px 0 6px 10px;
+ border-left: 5px solid hsl(0deg 0% 87%);
& p {
line-height: inherit;