This commit is contained in:
AndzejsP 2023-06-17 16:02:18 +03:00
parent b3f7c91ab0
commit 82e963e0f2

View File

@ -92,10 +92,14 @@
<MountedPersonalitiesComponent /> <MountedPersonalitiesComponent />
</div> --> </div> -->
<div class="relative grow"> <div class="relative grow">
<textarea id="chat" rows="1" v-model="message" <textarea id="chat" rows="1" v-model="message" title="Hold SHIFT + ENTER to add new line"
class="block min-h-11 no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" class="inline-block no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
placeholder="Send message..." @keydown.enter.exact="submitOnEnter($event)"> placeholder="Send message..." @keydown.enter.exact="submitOnEnter($event)">
</textarea> </textarea>
<input type="file" ref="fileDialog" style="display: none" @change="addFiles" multiple /> <input type="file" ref="fileDialog" style="display: none" @change="addFiles" multiple />
<button type="button" @click.stop="$refs.fileDialog.click()" title="Add files" <button type="button" @click.stop="$refs.fileDialog.click()" title="Add files"
@ -182,10 +186,10 @@ export default {
// components: { // components: {
// //MountedPersonalitiesComponent // //MountedPersonalitiesComponent
// }, // },
setup () { setup() {
}, },
data() { data() {
return { return {
@ -262,7 +266,7 @@ export default {
}, },
mounted() { mounted() {
nextTick(() => { nextTick(() => {
feather.replace() feather.replace()
}) })