aboutsummaryrefslogtreecommitdiff
path: root/src/components/status
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status')
-rw-r--r--src/components/status/status.scss14
-rw-r--r--src/components/status/status.vue1
2 files changed, 15 insertions, 0 deletions
diff --git a/src/components/status/status.scss b/src/components/status/status.scss
index 0a395086..769f7ef4 100644
--- a/src/components/status/status.scss
+++ b/src/components/status/status.scss
@@ -59,6 +59,12 @@ $status-margin: 0.75em;
justify-content: flex-end;
}
+ .user-avatar {
+ ._misclick-prevention & {
+ pointer-events: none !important;
+ }
+ }
+
.left-side {
margin-right: $status-margin;
}
@@ -108,6 +114,10 @@ $status-margin: 0.75em;
a {
display: inline-block;
word-break: break-all;
+
+ ._misclick-prevention & {
+ pointer-events: none !important;
+ }
}
}
@@ -250,6 +260,10 @@ $status-margin: 0.75em;
vertical-align: middle;
object-fit: contain;
}
+
+ ._misclick-prevention & a {
+ pointer-events: none !important;
+ }
}
.status-fadein {
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 21412faa..eb54befc 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -119,6 +119,7 @@
>
<router-link
:to="userProfileLink"
+ class="user-avatar"
@click.stop.prevent.capture.native="toggleUserExpanded"
>
<UserAvatar