Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Scale emoji with size of surrounding text (#8224)
Browse files Browse the repository at this point in the history
* Scale emoji with size of surrounding text

* Fix lint
  • Loading branch information
robintown authored Apr 4, 2022
1 parent 1758450 commit ba71fb1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion res/css/views/elements/_RichText.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ a.mx_Pill {
}

.mx_Emoji {
font-size: 1.8rem;
// Should be 1.8rem for our default 1.4rem message bodies,
// and scale with the size of the surrounding text
font-size: calc(18 / 14 * 1em);
vertical-align: bottom;
}

Expand Down

0 comments on commit ba71fb1

Please sign in to comment.