Skip to content

Commit f6fee9f

Browse files
committed
移动端输入框支持拉伸
1 parent 3367396 commit f6fee9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/Pages/Chat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ const audioFailed = (error) => {
104104
@submit.prevent="chat">
105105
<textarea required id="chat-input-textbox" placeholder="输入你的问题..." name="prompt"
106106
autocomplete="off" v-model="form.prompt" style="height: 40px !important;"
107-
class="block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-blue-600 sm:py-1.5 sm:text-sm sm:leading-6"></textarea>
107+
class="block w-full rounded-md border-0 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-blue-600 sm:py-1.5 sm:text-sm sm:leading-6 resize-y"></textarea>
108108
<div class="flex space-x-2">
109109
<button
110110
:class="{ 'flex items-center justify-center px-4 py-2 border border-green-600 bg-green-500 hover:bg-green-600 text-white rounded-md text-sm md:text-base': true }"

0 commit comments

Comments
 (0)