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: Present message embeds with logical props.

Karl Stolley115411ca4a8c
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index d85bb03c8df..72afecd1b53 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -654,17 +654,12 @@
.message_inline_ref {
margin-bottom: var(--markdown-interelement-space-px);
- margin-left: 5px;
+ margin-inline-start: 5px;
height: 50px;
display: block !important;
border: none !important;
}
- &.rtl .message_inline_ref {
- margin-left: unset;
- margin-right: 5px;
- }
-
.message_inline_image .media-image-element {
cursor: zoom-in;
}
@@ -764,7 +759,7 @@
text works as expected. */
height: calc(var(--length-message-preview-embeds) + 10px);
padding: 5px;
- border-left: 3px solid hsl(0deg 0% 93%);
+ border-inline-start: 3px solid hsl(0deg 0% 93%);
.message_embed_title {
font-size: 1.2em;
@@ -817,14 +812,6 @@
}
}
- /* Although grid will automatically respond to
- RTL languages, we still need to manually fix
- the border here, which is not part of grid. */
- &.rtl .message_embed {
- border-left: unset;
- border-right: 3px solid hsl(0deg 0% 93%);
- }
-
& a {
color: var(--color-markdown-link);
text-decoration: none;