Scale emoji with size of surrounding text (#8224)

* Scale emoji with size of surrounding text

* Fix lint
This commit is contained in:
Robin 2022-04-04 10:25:33 -04:00 committed by GitHub
parent 1758450e5c
commit ba71fb169f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}