summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNotification.vue
diff options
context:
space:
mode:
authorSoli <personal@str08.net>2023-12-26 11:40:31 +0900
committerGitHub <noreply@github.com>2023-12-26 11:40:31 +0900
commiteb23798c9f026490bf35591531200ad13619edd9 (patch)
tree464a66d58698e1fe04110aec44a7d681a778a5ab /packages/frontend/src/components/MkNotification.vue
parentFeat: クリックイベントを発生させるMFM構文を追加 (#12798) (diff)
downloadmisskey-eb23798c9f026490bf35591531200ad13619edd9.tar.gz
misskey-eb23798c9f026490bf35591531200ad13619edd9.tar.bz2
misskey-eb23798c9f026490bf35591531200ad13619edd9.zip
fix(frontend): ロールアサイン時の通知で,ロールアイコンが縮小されずに表示される問題を修正 (misskey-dev#12805) (#12806)
Diffstat (limited to 'packages/frontend/src/components/MkNotification.vue')
-rw-r--r--packages/frontend/src/components/MkNotification.vue2
1 files changed, 1 insertions, 1 deletions
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'"