diff options
| author | Henry Jameson <me@hjkos.com> | 2021-08-15 18:35:26 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2021-08-15 18:35:26 +0300 |
| commit | 299c00cf74fbef8b8b597330b8c0e6e28765ab7e (patch) | |
| tree | 2bb7cd66b35c36e43b77aaca94a7c9ce05ad74d1 /src/components/attachment/attachment.vue | |
| parent | 07c12ae16273498209ce557b59ea610e40365ad9 (diff) | |
fix video attachments in notifications not having pointer cursor
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 98d9c3ec..8a1c31c7 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -127,9 +127,11 @@ /> </a> - <span + <component + :is="videoTag" v-if="type === 'video' && !hidden" class="video-container" + :class="{ 'button-unstyled': 'isModal' }" :href="attachment.url" @click.stop.prevent="openModal" > @@ -145,7 +147,7 @@ class="play-icon" icon="play-circle" /> - </span> + </component> <span v-if="type === 'audio' && !hidden" |
