mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-13 18:59:22 -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;
|
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}>
|
||||||
|
|
Loading…
Reference in a new issue