mirror of
https://github.com/kognise/water.css.git
synced 2025-08-13 08:34:45 +02:00
feat: respect cols and rows attrs on textarea
This commit is contained in:
@@ -58,10 +58,17 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
|
display: block;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
width: 100%;
|
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
resize: vertical;
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea:not([cols]) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea:not([rows]) {
|
||||||
min-height: 140px;
|
min-height: 140px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user