aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.vue
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-07-06 14:01:03 +0300
committerShpuld Shpuldson <shp@cock.li>2020-07-06 14:01:03 +0300
commit87b5f828d769a5b2c34a4ad61f249c314a8bbb23 (patch)
treef09e6fce0c7549470d31d201534040df155c7fd2 /src/components/status/status.vue
parent4d25be7cb35f86ba2abe883116dc6442c93a1d9d (diff)
parentb761bcf3334e1f464e63a87de40eb75d0906d545 (diff)
fix conflicts, use file icon instead of link, add support for audio and file icon in cw'd posts
Diffstat (limited to 'src/components/status/status.vue')
-rw-r--r--src/components/status/status.vue13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 7ec29b28..8237be6c 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -197,7 +197,7 @@
>
<StatusPopover
v-if="!isPreview"
- :status-id="status.in_reply_to_status_id"
+ :status-id="status.parent_visible && status.in_reply_to_status_id"
class="reply-to-popover"
style="min-width: 0"
>
@@ -208,7 +208,12 @@
@click.prevent="gotoOriginal(status.in_reply_to_status_id)"
>
<i class="button-icon icon-reply" />
- <span class="faint-link reply-to-text">{{ $t('status.reply_to') }}</span>
+ <span
+ class="faint-link reply-to-text"
+ :class="{ 'strikethrough': !status.parent_visible }"
+ >
+ {{ $t('status.reply_to') }}
+ </span>
</a>
</StatusPopover>
<span
@@ -526,6 +531,10 @@ $status-margin: 0.75em;
margin: 0 0.4em 0 0.2em;
}
+ .strikethrough {
+ text-decoration: line-through;
+ }
+
.replies-separator {
margin-left: 0.4em;
}