mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
fixed textareas
This commit is contained in:
parent
39b0a2d568
commit
c6ccbb0fb4
2 changed files with 6 additions and 1 deletions
|
@ -121,13 +121,14 @@ const CommentFormUnconnected: FC<IProps> = ({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<CommentWrapper photo={getURL(photo)}>
|
<CommentWrapper photo={getURL(photo)}>
|
||||||
<form onSubmit={onSubmit}>
|
<form onSubmit={onSubmit} className={styles.wrap}>
|
||||||
<div className={styles.input}>
|
<div className={styles.input}>
|
||||||
<Textarea
|
<Textarea
|
||||||
value={comment.text}
|
value={comment.text}
|
||||||
handler={onInput}
|
handler={onInput}
|
||||||
onKeyDown={onKeyDown}
|
onKeyDown={onKeyDown}
|
||||||
disabled={is_sending_comment}
|
disabled={is_sending_comment}
|
||||||
|
minRows={2}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
.wrap {
|
.wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
min-height: 62px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.input {
|
.input {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue