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.

url_previews: Use em for title offset.

Karl Stolley41968e287112
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 41ff5eb6761..7761eb065ec 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -719,12 +719,9 @@
text-shadow: hsl(0deg 0% 0% / 1%) 0 0 1px;
.message_embed_title {
- padding-top: 0;
- /* to remove the spacing that the font has from the top of the container. */
- margin-top: -5px;
-
font-size: 1.2em;
- line-height: normal;
+ /* 5px at 16.8px (1.2 * 14px) */
+ margin-top: -0.2976em;
}
.message_embed_image {