mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
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 {
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue