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