mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-12 18:29:57 -05:00
Revert change.
This commit is contained in:
parent
b8a4ada30c
commit
c11d10a265
1 changed files with 53 additions and 60 deletions
|
@ -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}>
|
||||
|
|
Loading…
Reference in a new issue