enhahce(client): 🎨 通知のノートサマリーを1行にする (#9625)

* 🎨 add nowrap to notification

* 🎨 通知のノートサマリーを1行にする
This commit is contained in:
tamaina 2023-01-17 06:22:57 +09:00 committed by GitHub
parent a69c78e709
commit f8d0902080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -267,9 +267,9 @@ useTooltip(reactionRef, (showing) => {
}
.text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: flex;
width: 100%;
overflow: clip;
}
.quote {

View file

@ -10,7 +10,7 @@
<template #default="{ items: notifications }">
<MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :no-gap="true">
<XNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :key="notification.id" :note="notification.note"/>
<XNotification v-else :key="notification.id" :notification="notification" :with-time="true" :full="true" class="_panel notification"/>
<XNotification v-else :key="notification.id" :notification="notification" :with-time="true" :full="false" class="_panel notification"/>
</MkDateSeparatedList>
</template>
</MkPagination>