aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-06-13 15:06:46 -0400
committertusooa <tusooa@kazv.moe>2023-06-13 15:06:46 -0400
commitdb1643b94e47262bf5648d53d9a21f2d5cec7f00 (patch)
tree967de4b0f6bcda6c02295807d78e9b74d2734c31
parent7ab5ee9cba99eb675912a0b7ac7a05949cab91f7 (diff)
Keep aspect ratio of custom emoji reaction in notification
-rw-r--r--changelog.d/custom-emoji-notif-width.fix1
-rw-r--r--src/components/notifications/notifications.scss1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/custom-emoji-notif-width.fix b/changelog.d/custom-emoji-notif-width.fix
new file mode 100644
index 00000000..da118f6b
--- /dev/null
+++ b/changelog.d/custom-emoji-notif-width.fix
@@ -0,0 +1 @@
+Keep aspect ratio of custom emoji reaction in notification
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss
index 61f7317e..5749e430 100644
--- a/src/components/notifications/notifications.scss
+++ b/src/components/notifications/notifications.scss
@@ -136,6 +136,7 @@
.emoji-reaction-emoji-image {
vertical-align: middle;
+ object-fit: contain;
}
.notification-details {