feat: add ability to open member context menu by right-clicking on avatar
This commit is contained in:
parent
f1eda2da75
commit
b0d96faa6f
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
||||||
:text="props.replyMessage?.message"
|
:text="props.replyMessage?.message"
|
||||||
:reply-id="props.replyMessage.uuid" max-width="reply" />
|
:reply-id="props.replyMessage.uuid" max-width="reply" />
|
||||||
<div class="left-column">
|
<div class="left-column">
|
||||||
<Avatar :profile="props.author" class="message-author-avatar"/>
|
<Avatar :profile="props.author" class="message-author-avatar" @contextmenu="showContextMenu($event, contextMenu, memberMenuItems)" />
|
||||||
</div>
|
</div>
|
||||||
<div class="message-data">
|
<div class="message-data">
|
||||||
<div class="message-metadata">
|
<div class="message-metadata">
|
||||||
|
@ -236,6 +236,7 @@ function getDayDifference(date1: Date, date2: Date) {
|
||||||
max-height: 2em;
|
max-height: 2em;
|
||||||
min-width: 2em;
|
min-width: 2em;
|
||||||
max-width: 2em;
|
max-width: 2em;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-author-username {
|
.message-author-username {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue