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'"