feat: improve chat composer with file attachments and media previews
This commit is contained in:
@@ -43,7 +43,12 @@ const isCurrentUser = (userId: number): boolean => auth.user.value?.id === userI
|
||||
</div>
|
||||
|
||||
<div v-else class="messages-container">
|
||||
<div v-for="msg in messages" :key="msg.id" class="message-bubble mb-3">
|
||||
<div
|
||||
v-for="msg in messages"
|
||||
:key="msg.id"
|
||||
class="message-bubble mb-3 d-flex"
|
||||
:class="{ 'justify-content-end': isCurrentUser(msg.user_id), 'justify-content-start': !isCurrentUser(msg.user_id) }"
|
||||
>
|
||||
<div
|
||||
class="message-bubble-content p-3 rounded-3"
|
||||
:class="{
|
||||
|
||||
Reference in New Issue
Block a user