enhahce(client): 🎨 通知のノートサマリーを1行にする (#9625)
* 🎨 add nowrap to notification * 🎨 通知のノートサマリーを1行にする
This commit is contained in:
parent
a69c78e709
commit
f8d0902080
|
@ -267,9 +267,9 @@ useTooltip(reactionRef, (showing) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
white-space: nowrap;
|
display: flex;
|
||||||
overflow: hidden;
|
width: 100%;
|
||||||
text-overflow: ellipsis;
|
overflow: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
.quote {
|
.quote {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<template #default="{ items: notifications }">
|
<template #default="{ items: notifications }">
|
||||||
<MkDateSeparatedList v-slot="{ item: notification }" :class="$style.list" :items="notifications" :no-gap="true">
|
<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"/>
|
<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>
|
</MkDateSeparatedList>
|
||||||
</template>
|
</template>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
|
|
Loading…
Reference in a new issue