forked from Mirrors/gomuks
web/emojipicker: don't stretch custom emojis (#470)
This commit is contained in:
parent
aaee239d6a
commit
f1a28840ec
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,7 @@ div.emoji-picker {
|
||||||
> img {
|
> img {
|
||||||
width: 3rem;
|
width: 3rem;
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,6 +126,7 @@ div.emoji-picker {
|
||||||
button.emoji-category-icon > img, button.emoji > img {
|
button.emoji-category-icon > img, button.emoji > img {
|
||||||
width: 1.5rem;
|
width: 1.5rem;
|
||||||
height: 1.5rem;
|
height: 1.5rem;
|
||||||
|
object-fit: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.emoji {
|
button.emoji {
|
||||||
|
|
Loading…
Add table
Reference in a new issue