1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

textarea fix

This commit is contained in:
Matthias Kretschmann 2020-10-16 09:03:54 +02:00
parent 997db111bd
commit f6b8208906
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 11 additions and 1 deletions

View File

@ -49,6 +49,11 @@
display: none;
}
.textarea {
composes: input;
height: auto;
}
.select {
composes: input;
height: 43px;

View File

@ -57,7 +57,12 @@ export default function InputElement({
)
case 'textarea':
return (
<textarea name={name} id={name} className={styles.input} {...props} />
<textarea
name={name}
id={name}
className={styles.textarea}
{...props}
/>
)
case 'radio':
case 'checkbox':