Skip to content

Commit

Permalink
Merge pull request #91 from han4wluc/fix/chat-input-vertical-alignment
Browse files Browse the repository at this point in the history
fix chat textarea to vertically align center for single line
  • Loading branch information
zAlweNy26 authored Sep 20, 2024
2 parents da33b51 + 75a3eff commit 09b9905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const scrollToBottom = () => {
v-model.trim="userMessage"
:disabled="inputDisabled"
autofocus
:class="'textarea block max-h-20 w-full resize-none overflow-auto bg-base-200 pr-10 !outline-2 shadow-lg !outline-offset-0'"
:class="'textarea block max-h-20 w-full resize-none overflow-auto bg-base-200 pr-10 !outline-2 shadow-lg !outline-offset-0 pt-[10px]'"
:placeholder="generatePlaceholder(messagesState.loading, isListening, messagesState.error)"
@keydown="preventSend" />
<div class="absolute right-2 top-1/2 -translate-y-1/2">
Expand Down

0 comments on commit 09b9905

Please sign in to comment.