Instead of blocking all interaction, only block interaction in places

that matter
This commit is contained in:
Henry Jameson 2020-11-02 23:43:32 +02:00
parent f0a66448ee
commit e351665bb3
11 changed files with 45 additions and 2 deletions

View file

@ -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 {

View file

@ -119,6 +119,7 @@
>
<router-link
:to="userProfileLink"
class="user-avatar"
@click.stop.prevent.capture.native="toggleUserExpanded"
>
<UserAvatar