From 59a1b9adbe5af3655a30987e73ea60597bb9d5ca Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 30 Nov 2018 09:34:37 +0900 Subject: Trim notifications text (#3438) * Trim notifications * Remove needless colons * Use single quote * :art: --- src/client/app/mobile/views/components/notification.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/client/app/mobile/views/components') diff --git a/src/client/app/mobile/views/components/notification.vue b/src/client/app/mobile/views/components/notification.vue index c99b291ff6..1228047c94 100644 --- a/src/client/app/mobile/views/components/notification.vue +++ b/src/client/app/mobile/views/components/notification.vue @@ -8,7 +8,7 @@ {{ notification.user | userName }} - + {{ getNoteSummary(notification.note) }} @@ -23,7 +23,7 @@ {{ notification.user | userName }} - + {{ getNoteSummary(notification.note.renote) }} @@ -59,7 +59,7 @@ {{ notification.user | userName }} - + {{ getNoteSummary(notification.note) }} @@ -162,6 +162,11 @@ export default Vue.extend({ > .note-ref color var(--noteText) + display inline-block + width: 100% + overflow hidden + white-space nowrap + text-overflow ellipsis [data-icon] font-size 1em -- cgit v1.3.1-freya