commit: 8bd27165f38e8568950992bc82058da676e56f18
parent 6e2b87f5af922d27ee87b9fec64c5308832a41af
Author: HJ <30-hj@users.noreply.git.pleroma.social>
Date: Thu, 18 Aug 2022 13:10:24 +0000
Fix non-square emojis being truncated
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/components/emoji_picker/emoji_picker.scss b/src/components/emoji_picker/emoji_picker.scss
@@ -35,6 +35,8 @@ $emoji-picker-emoji-size: 32px;
.still-image {
max-width: 100%;
max-height: 100%;
+ height: 100%;
+ width: 100%;
object-fit: contain;
}
}