File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 95
95
</transition >
96
96
97
97
<div class =" box-footer" >
98
- <div v-if =" imageFile" class = " image-container " >
98
+ <div v-if =" imageFile" >
99
99
<div class =" svg-button icon-image" @click =" resetImageFile" >
100
100
<svg-icon name =" close" param =" image" />
101
101
</div >
102
- <img :src =" imageFile" class =" image-file" />
102
+ <div class =" image-file" >
103
+ <img :src =" imageFile" />
104
+ </div >
103
105
</div >
104
106
105
107
<div class =" file-container" v-else-if =" file" >
@@ -529,11 +531,6 @@ export default {
529
531
}
530
532
}
531
533
532
- .image-file {
533
- margin-right : 10px ;
534
- max-width : 250px ;
535
- }
536
-
537
534
textarea {
538
535
background : var (--chat-bg-color-input );
539
536
color : var (--chat-color );
@@ -568,8 +565,14 @@ textarea {
568
565
}
569
566
}
570
567
571
- .image-container {
568
+ .image-file {
572
569
display : flex ;
570
+ margin-right : 10px ;
571
+
572
+ img {
573
+ max-width : 250px ;
574
+ max-height : 100% ;
575
+ }
573
576
}
574
577
575
578
.icon-image {
You can’t perform that action at this time.
0 commit comments