fix: limit height of note post form

resolve #46
This commit is contained in:
Shusui MOYATANI
2024-01-29 00:37:15 +09:00
parent fe0fcd153c
commit 0b540dc593

View File

@@ -384,7 +384,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
emojiTextAreaRef(el); emojiTextAreaRef(el);
}} }}
name="text" name="text"
class="min-h-[40px] rounded-md border border-border bg-bg ring-border placeholder:text-fg-secondary focus:border-border focus:ring-primary" class="scrollbar max-h-[40vh] min-h-[4rem] overflow-y-auto rounded-md border border-border bg-bg ring-border placeholder:text-fg-secondary focus:border-border focus:ring-primary"
rows={4} rows={4}
placeholder={placeholder(mode())} placeholder={placeholder(mode())}
onInput={handleInput} onInput={handleInput}