diff options
| author | shpuld <shp@cock.li> | 2017-11-25 12:57:55 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2017-11-25 12:57:55 +0200 |
| commit | bcd10b34758b41cc09ec15153e9ca027fd4703f5 (patch) | |
| tree | 12bd97a2de3c902959a97d658645e22c898b1899 | |
| parent | f50aed3a63c69ffa2f77aafb06a9d9e008e97cf3 (diff) | |
Make star icon in notifications behave like the other icons..
| -rw-r--r-- | src/components/notifications/notifications.scss | 4 | ||||
| -rw-r--r-- | src/components/notifications/notifications.vue | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index db7b0843..241f10b4 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -59,6 +59,10 @@ color: $blue; } + .icon-star.lit { + color: orange; + } + .status-content { margin: 0; max-height: 300px; diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 64624873..176695b1 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -17,7 +17,7 @@ <div v-if="notification.type === 'favorite'"> <h1> <span :title="'@'+notification.action.user.screen_name">{{ notification.action.user.name }}</span> - <i class="fa icon-star"></i> + <i class="fa icon-star lit"></i> <small><router-link :to="{ name: 'conversation', params: { id: notification.status.id } }"><timeago :since="notification.action.created_at" :auto-update="240"></timeago></router-link></small> </h1> <div class="notification-gradient" :style="hiderStyle"></div> |
