Skip to content

Commit ab72786

Browse files
committed
(UI) fix textarea image position
1 parent 7b976af commit ab72786

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/ChatWindow/MessagesList.vue

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
</transition>
9696

9797
<div class="box-footer">
98-
<div v-if="imageFile">
98+
<div v-if="imageFile" class="image-container">
9999
<div class="svg-button icon-image" @click="resetImageFile">
100100
<svg-icon name="close" param="image" />
101101
</div>
@@ -530,7 +530,7 @@ export default {
530530
}
531531
532532
.image-file {
533-
padding: 10px;
533+
margin-right: 10px;
534534
max-width: 250px;
535535
}
536536
@@ -568,10 +568,15 @@ textarea {
568568
}
569569
}
570570
571+
.image-container {
572+
display: flex;
573+
}
574+
571575
.icon-image {
572576
position: absolute;
573-
top: 25px;
574-
left: 25px;
577+
top: 15px;
578+
left: 15px;
579+
z-index: 2;
575580
576581
svg {
577582
height: 20px;

0 commit comments

Comments
 (0)