mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:33:10 +02:00
enhahce(client): 🎨 通知のノートサマリーを1行にする (#9625)
* 🎨 add nowrap to notification * 🎨 通知のノートサマリーを1行にする
This commit is contained in:
parent
a69c78e709
commit
f8d0902080
2 changed files with 4 additions and 4 deletions
|
@ -267,9 +267,9 @@ useTooltip(reactionRef, (showing) => {
|
|||
}
|
||||
|
||||
.text {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.quote {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue