fixed message box

This commit is contained in:
ben 2022-12-20 08:51:07 +00:00
parent 64bf0c406b
commit 4d2f9facee

View file

@ -929,7 +929,7 @@
</q-card-section> </q-card-section>
</q-card> </q-card>
<!-- CHAT BOX --> <!-- CHAT BOX -->
<q-card style="max-height: 800px"> <q-card style="max-height: 600px">
<q-card-section> <q-card-section>
<h6 class="text-subtitle1 q-my-none">Messages</h6> <h6 class="text-subtitle1 q-my-none">Messages</h6>
</q-card-section> </q-card-section>
@ -945,6 +945,7 @@
emit-value emit-value
></q-select> ></q-select>
</q-card-section> </q-card-section>
<q-card-section>
<div class="chat-container q-pa-md" ref="chatCard"> <div class="chat-container q-pa-md" ref="chatCard">
<div class="chat-box"> <div class="chat-box">
<!-- <p v-if="Object.keys(messages).length === 0">No messages yet</p> --> <!-- <p v-if="Object.keys(messages).length === 0">No messages yet</p> -->
@ -959,6 +960,7 @@
/> />
</div> </div>
</div> </div>
<q-card-section>
<q-form @submit="sendMessage" class="full-width chat-input"> <q-form @submit="sendMessage" class="full-width chat-input">
<q-input <q-input
ref="newMessage" ref="newMessage"
@ -980,7 +982,9 @@
</template> </template>
</q-input> </q-input>
</q-form> </q-form>
</q-card-section>
</div> </div>
</q-card-section>
</q-card> </q-card>
<!-- <q-card> <!-- <q-card>
<q-card-section> <q-card-section>