diff options
| author | Henry Jameson <me@hjkos.com> | 2018-11-30 16:39:07 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-11-30 16:39:53 +0300 |
| commit | 406df4399b630268c1028664f3b818571d6f8e4f (patch) | |
| tree | 9a2bae42e18c6a802089c4066bc3ddb21de71e35 /src/components/notification | |
| parent | b45fc6c6523b1332c6422a5dc6eff95c11a32690 (diff) | |
avatars shadows, also allows drop-shadow use
Diffstat (limited to 'src/components/notification')
| -rw-r--r-- | src/components/notification/notification.js | 3 | ||||
| -rw-r--r-- | src/components/notification/notification.vue | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js index c786f2cc..4dea63bb 100644 --- a/src/components/notification/notification.js +++ b/src/components/notification/notification.js @@ -6,7 +6,8 @@ import { highlightClass, highlightStyle } from '../../services/user_highlighter/ const Notification = { data () { return { - userExpanded: false + userExpanded: false, + betterShadow: this.$store.state.interface.browserSupport.cssFilter } }, props: [ diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 72c1ca69..f98afbe0 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -2,7 +2,7 @@ <status v-if="notification.type === 'mention'" :compact="true" :statusoid="notification.status"></status> <div class="non-mention" :class="[userClass, { highlighted: userStyle }]" :style="[ userStyle ]"v-else> <a class='avatar-container' :href="notification.action.user.statusnet_profile_url" @click.stop.prevent.capture="toggleUserExpanded"> - <StillImage class='avatar-compact' :src="notification.action.user.profile_image_url_original"/> + <StillImage class='avatar-compact' :class="{'better-shadow': betterShadow}" :src="notification.action.user.profile_image_url_original"/> </a> <div class='notification-right'> <div class="usercard notification-usercard" v-if="userExpanded"> |
