Revert change.

This commit is contained in:
Paul 2021-07-05 21:28:38 +01:00
parent b8a4ada30c
commit c11d10a265

View file

@ -68,11 +68,6 @@ const Base = styled.div`
font-size: 0.875rem; font-size: 0.875rem;
background: transparent; background: transparent;
} }
.textarea {
flex-grow: 1;
padding: 12px 0;
}
`; `;
const Blocked = styled.div` const Blocked = styled.div`
@ -424,12 +419,11 @@ function MessageBox({ channel, draft }: Props) {
/> />
</Action> </Action>
) : undefined} ) : undefined}
<div class="textarea">
<TextAreaAutoSize <TextAreaAutoSize
autoFocus autoFocus
hideBorder hideBorder
maxRows={20} maxRows={20}
padding={0} padding={12}
id="message" id="message"
value={draft ?? ""} value={draft ?? ""}
onKeyUp={onKeyUp} onKeyUp={onKeyUp}
@ -481,7 +475,6 @@ function MessageBox({ channel, draft }: Props) {
onFocus={onFocus} onFocus={onFocus}
onBlur={onBlur} onBlur={onBlur}
/> />
</div>
{isTouchscreenDevice && ( {isTouchscreenDevice && (
<Action> <Action>
<IconButton onClick={send}> <IconButton onClick={send}>