From: Tim MacDonald Date: Fri, 21 Jul 2017 07:31:48 +0000 (+1000) Subject: Fixes #26 Textarea now respects rows attribute (#859) X-Git-Tag: 0.4.4~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6a225e789df9a78898ec33c5e264e8cbc58a2a;p=thirdparty%2Fbulma.git Fixes #26 Textarea now respects rows attribute (#859) * textarea now respects rows attribute * use the :not() selector * better sass selectors --- diff --git a/sass/elements/form.sass b/sass/elements/form.sass index aa2dcb68e..af1a120b0 100644 --- a/sass/elements/form.sass +++ b/sass/elements/form.sass @@ -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