Scale emoji with size of surrounding text (#8224)
* Scale emoji with size of surrounding text * Fix lint
This commit is contained in:
parent
1758450e5c
commit
ba71fb169f
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,9 @@ a.mx_Pill {
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_Emoji {
|
.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;
|
vertical-align: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue