mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 10:16:06 +03:00
fix: emoji sizing (#2007)
This commit is contained in:
parent
85ac040c2f
commit
b2c1a4ddef
1 changed files with 7 additions and 15 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue