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: Make start border of link previews and blockquotes same.

Shubham Padia4d081c61244c
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 7aee5b1ee64..3cfe48e346a 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -185,6 +185,10 @@
12.4px at 16px/1em */
padding: 0;
padding-inline-start: 0.775em;
+ }
+
+ & blockquote,
+ .message_embed {
/* We want to keep the border roughly centered
with bullets and single-digit list markers.
3.5px at 16px/1em */
@@ -744,7 +748,6 @@
)
[fader-start] 10% [data-container-end thumbnail-end border-end fader-end];
column-gap: 5px;
- margin: 0 0 var(--markdown-interelement-space-px);
/* We want to control the height without worrying about
padding... */
box-sizing: border-box;
@@ -753,7 +756,6 @@
text works as expected. */
height: calc(var(--length-message-preview-embeds) + 10px);
padding: 5px;
- border-inline-start: 3px solid hsl(0deg 0% 93%);
.message_embed_title {
font-size: 1.2em;