1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-19 07:19:58 +00:00

fix: emoji sizing (#2007)

This commit is contained in:
patak 2023-04-24 07:19:29 +02:00 committed by GitHub
parent 85ac040c2f
commit b2c1a4ddef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,25 +34,17 @@ body {
display: none; display: none;
} }
.custom-emoji {
display: inline-block;
vertical-align: text-bottom;
}
.content-editor img.custom-emoji, .content-editor img.custom-emoji,
.custom-emoji img { .custom-emoji img,
max-height: 1.3em;
max-width: 1.3em;
object-fit: contain;
}
.iconify-emoji { .iconify-emoji {
display: inline-block; display: inline-block;
height: 1.2em;
width: 1.2em;
margin-right: 0.075em;
margin-left: 0.075em;
object-fit: contain;
overflow: hidden; overflow: hidden;
max-height: 1.2em; vertical-align: -20%;
max-width: 1.2em;
vertical-align: text-bottom;
margin: 0 0.1em;
} }
.iconify-emoji-padded { .iconify-emoji-padded {