File tree Expand file tree Collapse file tree 1 file changed +31
-14
lines changed Expand file tree Collapse file tree 1 file changed +31
-14
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 >
119
+ <div class =" options-container" >
120
+ <transition name =" slide-left" >
121
+ <div
122
+ v-if =" messageHover"
123
+ class =" blur-container"
124
+ :class =" {
125
+ 'options-me': message.sender_id === currentUserId,
126
+ 'options-image': isImage
127
+ }"
128
+ ></div >
129
+ </transition >
130
+ </div >
128
131
129
132
<transition name =" slide-left" >
130
133
<div
@@ -634,19 +637,33 @@ export default {
634
637
635
638
.options-container {
636
639
position : absolute ;
637
- top : 8px ;
638
- right : 15px ;
639
- height : 26px ;
640
- width : 60px ;
641
- border-radius : 0 8px ;
640
+ top : 3px ;
641
+ right : 10px ;
642
+ height : 40px ;
643
+ width : 70px ;
644
+ overflow : hidden ;
645
+ border-top-right-radius : 8px ;
646
+ }
647
+
648
+ .blur-container {
649
+ position : absolute ;
650
+ height : 100% ;
651
+ width : 100% ;
652
+ left : 10px ;
653
+ bottom : 10px ;
642
654
background : var (--chat-message-bg-color );
643
655
filter : blur (4px );
656
+ border-bottom-left-radius : 8px ;
644
657
}
645
658
646
659
.options-me {
647
660
background : var (--chat-message-bg-color-me );
648
661
}
649
662
663
+ .options-image {
664
+ background : rgba (255 , 255 , 255 , 0.8 );
665
+ }
666
+
650
667
.image-buttons {
651
668
position : absolute ;
652
669
width : 100% ;
You can’t perform that action at this time.
0 commit comments