diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2023-01-17 06:22:57 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-17 06:22:57 +0900 |
| commit | f8d09020807b6db6341bed43b1bb25a182ee29ca (patch) | |
| tree | 9643d490d0e2b035398643c6c1c26871739f1862 /packages/frontend | |
| parent | Use corepack (#9620) (diff) | |
| download | misskey-f8d09020807b6db6341bed43b1bb25a182ee29ca.tar.gz misskey-f8d09020807b6db6341bed43b1bb25a182ee29ca.tar.bz2 misskey-f8d09020807b6db6341bed43b1bb25a182ee29ca.zip | |
enhahce(client): :art: 通知のノートサマリーを1行にする (#9625)
* :art: add nowrap to notification
* :art: 通知のノートサマリーを1行にする
Diffstat (limited to 'packages/frontend')
| -rw-r--r-- | packages/frontend/src/components/MkNotification.vue | 6 | ||||
| -rw-r--r-- | packages/frontend/src/components/MkNotifications.vue | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/frontend/src/components/MkNotification.vue b/packages/frontend/src/components/MkNotification.vue index 4f82579917..5b8041c1d4 100644 --- a/packages/frontend/src/components/MkNotification.vue +++ b/packages/frontend/src/components/MkNotification.vue @@ -267,9 +267,9 @@ useTooltip(reactionRef, (showing) => { } .text { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + display: flex; + width: 100%; + overflow: clip; } .quote { diff --git a/packages/frontend/src/components/MkNotifications.vue b/packages/frontend/src/components/MkNotifications.vue index ab5dff8db5..f5ae7bcee4 100644 --- a/packages/frontend/src/components/MkNotifications.vue +++ b/packages/frontend/src/components/MkNotifications.vue @@ -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> |