Increase height of textarea and container in Chat.svelte for better visibility

This commit is contained in:
kwaroran
2024-11-02 04:07:08 +09:00
parent 81cc9f0c9b
commit 864715df85

View File

@@ -378,9 +378,9 @@
</div> </div>
{#if editMode} {#if editMode}
<textarea class="flex-grow h-96 overflow-y-auto bg-transparent text-black p-2 mb-2 resize-none" bind:value={message}></textarea> <textarea class="flex-grow h-138 sm:h-96 overflow-y-auto bg-transparent text-black p-2 mb-2 resize-none" bind:value={message}></textarea>
{:else} {:else}
<div class="flex-grow h-96 overflow-y-auto p-2 mb-2 sm:mb-0"> <div class="flex-grow h-138 sm:h-96 overflow-y-auto p-2 mb-2 sm:mb-0">
{@render textBox()} {@render textBox()}
</div> </div>
{/if} {/if}