From eb23798c9f026490bf35591531200ad13619edd9 Mon Sep 17 00:00:00 2001 From: Soli <personal@str08.net> Date: Tue, 26 Dec 2023 11:40:31 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E3=83=AD=E3=83=BC=E3=83=AB?= =?UTF-8?q?=E3=82=A2=E3=82=B5=E3=82=A4=E3=83=B3=E6=99=82=E3=81=AE=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E3=81=A7=EF=BC=8C=E3=83=AD=E3=83=BC=E3=83=AB=E3=82=A2?= =?UTF-8?q?=E3=82=A4=E3=82=B3=E3=83=B3=E3=81=8C=E7=B8=AE=E5=B0=8F=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=9A=E3=81=AB=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=82=8B=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3=20(missk?= =?UTF-8?q?ey-dev#12805)=20(#12806)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + packages/frontend/src/components/MkNotification.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e452eb3845..709f97b7bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ ### Server - Enhance: センシティブワードの設定がハッシュタグトレンドにも適用されるようになりました - Fix: 1702718871541-ffVisibility.jsのdownが壊れている +- Fix: ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 ## 2023.12.0 diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 4d422c10ae..da7eb36d90 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -37,7 +37,7 @@ SPDX-License-Identifier: AGPL-3.0-only <i v-else-if="notification.type === 'quote'" class="ti ti-quote"></i> <i v-else-if="notification.type === 'pollEnded'" class="ti ti-chart-arrows"></i> <i v-else-if="notification.type === 'achievementEarned'" class="ti ti-medal"></i> - <img v-else-if="notification.type === 'roleAssigned'" :src="notification.role.iconUrl" alt=""/> + <img v-else-if="notification.type === 'roleAssigned'" style="height: 1.3em; vertical-align: -22%;" :src="notification.role.iconUrl" alt=""/> <!-- notification.reaction が null になることはまずないが、ここでoptional chaining使うと一部ブラウザで刺さるので念の為 --> <MkReactionIcon v-else-if="notification.type === 'reaction'"