mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
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:
@@ -719,12 +719,9 @@
|
|||||||
text-shadow: hsl(0deg 0% 0% / 1%) 0 0 1px;
|
text-shadow: hsl(0deg 0% 0% / 1%) 0 0 1px;
|
||||||
|
|
||||||
.message_embed_title {
|
.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;
|
font-size: 1.2em;
|
||||||
line-height: normal;
|
/* 5px at 16.8px (1.2 * 14px) */
|
||||||
|
margin-top: -0.2976em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message_embed_image {
|
.message_embed_image {
|
||||||
|
|||||||
Reference in New Issue
Block a user