url_previews: Use em for title offset.

Removing `line-height` here also allows for the title
to assume the app-wide user-selected line height.
This commit is contained in:
Karl Stolley
2025-04-25 11:25:06 -05:00
committed by Tim Abbott
parent 05e4a2f6ac
commit 41968e2871

View File

@@ -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 {