Skip to content

Commit

Permalink
add max-height (max-h-64) to allow prompt textarea to scroll and not …
Browse files Browse the repository at this point in the history
…escape viewport
  • Loading branch information
edwardsharp committed Aug 20, 2024
1 parent 5ae7e25 commit 97c1e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/PromptForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
required
spellcheck="false"
disabled={isSubmitting}
class="w-full tracking-wide px-4 py-1 focus:outline-none focus:bg-green/20 focus:placeholder-shown:bg-green/10"
class="w-full tracking-wide px-4 py-1 focus:outline-none focus:bg-green/20 focus:placeholder-shown:bg-green/10 max-h-64"
bind:this={input}
bind:value={inputValue}
on:keydown={handleKeydown}
Expand Down

0 comments on commit 97c1e4e

Please sign in to comment.