File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 116
116
</span >
117
117
</div >
118
118
119
+ <transition name =" fade-message" >
120
+ <div
121
+ v-if =" messageHover"
122
+ class =" options-container"
123
+ :class =" {
124
+ 'options-me': message.sender_id === currentUserId
125
+ }"
126
+ ></div >
127
+ </transition >
128
+
119
129
<transition name =" slide-left" >
120
130
<div
121
131
ref =" actionIcon"
127
137
</div >
128
138
</transition >
129
139
130
- <transition name =" fade-image " >
140
+ <transition name =" slide-left " >
131
141
<emoji-picker
132
142
class =" message-reactions"
133
143
v-if =" isMessageReactions"
@@ -622,6 +632,21 @@ export default {
622
632
}
623
633
}
624
634
635
+ .options-container {
636
+ position : absolute ;
637
+ top : 8px ;
638
+ right : 15px ;
639
+ height : 26px ;
640
+ width : 60px ;
641
+ border-radius : 0 8px ;
642
+ background : var (--chat-message-bg-color );
643
+ filter : blur (4px );
644
+ }
645
+
646
+ .options-me {
647
+ background : var (--chat-message-bg-color-me );
648
+ }
649
+
625
650
.image-buttons {
626
651
position : absolute ;
627
652
width : 100% ;
You can’t perform that action at this time.
0 commit comments