Skip to content

Commit 2999587

Browse files
committed
(UI) fix image loader position
1 parent a18bd1f commit 2999587

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/ChatWindow/ChatMessage.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
<div class="image-container" v-else-if="isImage">
5353
<chat-loader
54-
style="height: 220px"
54+
class="image-loader"
5555
:show="isImageLoading"
5656
></chat-loader>
5757
<div
@@ -362,6 +362,10 @@ export default {
362362
width: 250px;
363363
}
364364
365+
.image-loader {
366+
top: 140px;
367+
}
368+
365369
.message-image {
366370
position: relative;
367371
background-color: var(--chat-message-bg-color-image) !important;

src/ChatWindow/MessagesList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ export default {
278278
height: this.$refs.imageFile.height + 2,
279279
width: this.$refs.imageFile.width + 20
280280
}
281-
}, 20)
281+
}, 10)
282282
}
283283
},
284284

0 commit comments

Comments
 (0)