Fixes #26 Textarea now respects rows attribute (#859)

* textarea now respects rows attribute

* use the :not() selector

* better sass selectors
This commit is contained in:
Tim MacDonald 2017-07-21 17:31:48 +10:00 committed by Jeremy Thomas
parent 9666c32c62
commit ee6a225e78

View File

@ -70,12 +70,15 @@ $input-radius: $radius !default
.textarea
display: block
max-height: 600px
max-width: 100%
min-height: 120px
min-width: 100%
padding: 0.625em
resize: vertical
&:not([rows])
max-height: 600px
min-height: 120px
&[rows]
height: unset
.checkbox,
.radio