aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-06-13 19:12:19 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-06-13 19:12:19 +0000
commit336a966a520726ea4c4150d7fcc71125b882caac (patch)
tree967de4b0f6bcda6c02295807d78e9b74d2734c31
parent7ab5ee9cba99eb675912a0b7ac7a05949cab91f7 (diff)
parentdb1643b94e47262bf5648d53d9a21f2d5cec7f00 (diff)
Merge branch 'tusooa/custom-emoji-notif-width' into 'develop'
Keep aspect ratio of custom emoji reaction in notification See merge request pleroma/pleroma-fe!1839
-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 {