File tree Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Expand file tree Collapse file tree 1 file changed +9
-16
lines changed Original file line number Diff line number Diff line change 124
124
<div
125
125
class =" options-container"
126
126
:class =" { 'options-image': isImage && !message.replyMessage }"
127
- :style =" { width: optionsBlurWidth }"
127
+ :style =" {
128
+ width:
129
+ filteredMessageActions.length && showReactionEmojis
130
+ ? '70px'
131
+ : '45px'
132
+ }"
128
133
>
129
134
<transition-group name =" slide-left" >
130
135
<div
@@ -351,13 +356,6 @@ export default {
351
356
return this .message .sender_id === this .currentUserId
352
357
? this .messageActions
353
358
: this .messageActions .filter (message => ! message .onlyMe )
354
- },
355
- optionsBlurWidth () {
356
- if (this .filteredMessageActions .length && this .showReactionEmojis ) {
357
- return this .isImage ? ' 69px' : ' 72px'
358
- } else {
359
- return this .isImage ? ' 44px' : ' 47px'
360
- }
361
359
}
362
360
},
363
361
@@ -697,14 +695,9 @@ export default {
697
695
background : var (--chat-message-bg-color-me );
698
696
}
699
697
700
- .options-image {
701
- width : 69px ;
702
- height : 40px ;
703
-
704
- .blur-container {
705
- background : rgba (255 , 255 , 255 , 0.6 );
706
- border-bottom-left-radius : 15px ;
707
- }
698
+ .options-image .blur-container {
699
+ background : rgba (255 , 255 , 255 , 0.6 );
700
+ border-bottom-left-radius : 15px ;
708
701
}
709
702
710
703
.image-buttons {
You can’t perform that action at this time.
0 commit comments