fix: add break-all to NotePostForm

resolve #104
This commit is contained in:
Shusui MOYATANI
2024-06-30 03:07:49 +09:00
parent 4d40d147e8
commit e0724f8fc9

View File

@@ -384,7 +384,7 @@ const NotePostForm: Component<NotePostFormProps> = (props) => {
emojiTextAreaRef(el); emojiTextAreaRef(el);
}} }}
name="text" name="text"
class="scrollbar max-h-[40vh] min-h-16 overflow-y-auto 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-16 overflow-y-auto whitespace-pre-wrap break-all 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}