Fix emojis getting cropped in irc & bubble layouts by anti-zalgo (#7637)

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Michael Telatynski 2022-01-27 09:45:52 +00:00 committed by GitHub
parent 3ff4c6808f
commit 20819df60b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View file

@ -25,7 +25,6 @@ $irc-line-height: $font-18px;
line-height: $irc-line-height !important;
.mx_EventTile {
// timestamps are links which shouldn't be underlined
> a {
text-decoration: none;
@ -111,6 +110,8 @@ $irc-line-height: $font-18px;
.mx_TextualEvent,
.mx_MTextBody {
display: inline-block;
// add a 1px padding top and bottom because our larger emoji font otherwise gets cropped by anti-zalgo
padding: 1px 0;
}
}