Made the default height of the input box 2 instead of 5 to use less space, especially on mobile

This commit is contained in:
Nils Hulth
2023-04-02 21:31:57 +02:00
parent 9a7169a80c
commit e8a661399e
+1 -1
View File
@@ -222,7 +222,7 @@ export function Composer(props: { disableSend: boolean; isDeveloperMode: boolean
<Textarea
variant='soft' autoFocus placeholder={textPlaceholder}
minRows={5} maxRows={12}
minRows={2} maxRows={12}
onKeyDown={handleKeyPress}
onDragEnter={handleMessageDragEnter}
value={composeText} onChange={(e) => setComposeText(e.target.value)}