Merge pull request #201 from kognise/feat/textarea-row-cols

feat: respect cols/rows attribute on textarea
This commit is contained in:
Kognise 2020-05-31 00:49:21 -05:00 committed by GitHub
commit 863b0d688e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,10 +58,17 @@ textarea {
}
textarea {
display: block;
margin-right: 0;
width: 100%;
box-sizing: border-box;
resize: vertical;
}
textarea:not([cols]) {
width: 100%;
}
textarea:not([rows]) {
min-height: 140px;
}