fix textarea sizing problem;

move down send btn while textbox high;
This commit is contained in:
ryanhex53 2023-03-21 07:50:09 +08:00
parent c5fd70df5f
commit bd719a9480
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ a.is-disabled {
/* Style the chat input */ /* Style the chat input */
.chat-input { .chat-input {
overflow-y:hidden; overflow-y:hidden;
resize: vertical;
} }
$footer-padding: 3rem 1.5rem; $footer-padding: 3rem 1.5rem;

View File

@ -426,7 +426,7 @@
<progress class="progress is-small is-dark" max="100" /> <progress class="progress is-small is-dark" max="100" />
{/if} {/if}
<form class="field has-addons has-addons-right" on:submit|preventDefault={() => submitForm()}> <form class="field has-addons has-addons-right is-align-items-flex-end" on:submit|preventDefault={() => submitForm()}>
<p class="control is-expanded"> <p class="control is-expanded">
<textarea <textarea
class="input is-info is-focused chat-input" class="input is-info is-focused chat-input"