diff options
| author | dave <starpumadev@gmail.com> | 2019-03-03 14:11:38 -0500 |
|---|---|---|
| committer | dave <starpumadev@gmail.com> | 2019-03-03 14:11:38 -0500 |
| commit | f392668b73ef7735036d25a8e37a76872b506322 (patch) | |
| tree | bd7e00e5bd08c979ecb437d8455dd318451cdc2b | |
| parent | 3ed1eb572353fd7fa250148fbcfcd53cbed008ca (diff) | |
#418: update notification timeago format
| -rw-r--r-- | src/components/notification/notification.vue | 6 | ||||
| -rw-r--r-- | src/components/notifications/notifications.scss | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index a0a55cba..dd6cae38 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -25,7 +25,11 @@ <small>{{$t('notifications.followed_you')}}</small> </span> </div> - <small class="timeago"><router-link v-if="notification.status" :to="{ name: 'conversation', params: { id: notification.status.id } }"><timeago :since="notification.action.created_at" :auto-update="240"></timeago></router-link></small> + <div> + <router-link v-if="notification.status" :to="{ name: 'conversation', params: { id: notification.status.id } }" class="faint-link"> + <timeago :since="notification.action.created_at" :auto-update="240"></timeago> + </router-link> + </div> </span> <div class="follow-text" v-if="notification.type === 'follow'"> <router-link :to="userProfileLink(notification.action.user)"> diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index b3364afc..0aaef7a1 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -125,10 +125,6 @@ } } - .timeago { - font-size: 12px; - } - .icon-retweet.lit { color: $fallback--cGreen; color: var(--cGreen, $fallback--cGreen); |
