Scale emoji with size of surrounding text (#8224)

* Scale emoji with size of surrounding text

* Fix lint
watcha-feature/make-nextcloud-documents-integration-a-local-widget
Robin 4 years ago committed by GitHub
parent 1758450e5c
commit ba71fb169f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      res/css/views/elements/_RichText.scss

@ -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…
Cancel
Save