1
0
Fork 0
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:
Fedor Katurov 2019-10-12 15:23:43 +07:00
parent 39b0a2d568
commit c6ccbb0fb4
2 changed files with 6 additions and 1 deletions

View file

@ -121,13 +121,14 @@ const CommentFormUnconnected: FC<IProps> = ({
return (
<CommentWrapper photo={getURL(photo)}>
<form onSubmit={onSubmit}>
<form onSubmit={onSubmit} className={styles.wrap}>
<div className={styles.input}>
<Textarea
value={comment.text}
handler={onInput}
onKeyDown={onKeyDown}
disabled={is_sending_comment}
minRows={2}
/>
</div>

View file

@ -1,6 +1,10 @@
.wrap {
display: flex;
flex-direction: column;
textarea {
min-height: 62px !important;
}
}
.input {