mirror of
https://github.com/kognise/water.css.git
synced 2026-01-10 23:26:19 +01:00
feat: respect cols and rows attrs on textarea
This commit is contained in:
parent
7b5fab9549
commit
28e538d212
1 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue