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 (
|
||||
<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>
|
||||
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
.wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
textarea {
|
||||
min-height: 62px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.input {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue