forked from AkkomaGang/akkoma-fe
make left side of conversations clickable, à la birdsite
This commit is contained in:
parent
235f3b2d94
commit
65511042e3
3 changed files with 9 additions and 1 deletions
|
@ -593,6 +593,12 @@ const Status = {
|
|||
window.scrollBy(0, rect.bottom - window.innerHeight + 50)
|
||||
}
|
||||
}
|
||||
},
|
||||
handleConversationClick() {
|
||||
this.$router.push({
|
||||
name: 'conversation',
|
||||
params: { id: this.status.id }
|
||||
})
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
|
||||
.left-side {
|
||||
margin-right: var(--status-margin, $status-margin);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.right-side {
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
<div
|
||||
v-if="!noHeading"
|
||||
class="left-side"
|
||||
@click.self="handleConversationClick"
|
||||
>
|
||||
<a
|
||||
:href="$router.resolve(userProfileLink).href"
|
||||
|
@ -172,7 +173,7 @@
|
|||
</h4>
|
||||
<span class="nowrap">
|
||||
<router-link
|
||||
class="account-name"
|
||||
class="account-name faint-link"
|
||||
:title="status.user.screen_name_ui"
|
||||
:to="userProfileLink"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue