app/assets/stylesheets/sass/form/input-textarea.sass in bulma-sass-0.7.5.1 vs app/assets/stylesheets/sass/form/input-textarea.sass in bulma-sass-0.8.0

- old
+ new

@@ -1,5 +1,9 @@ +$textarea-padding: $control-padding-horizontal !default +$textarea-max-height: 40em !default +$textarea-min-height: 8em !default + %input-textarea @extend %input box-shadow: $input-shadow max-width: 100% width: 100% @@ -32,12 +36,12 @@ .input @extend %input-textarea &.is-rounded border-radius: $radius-rounded - padding-left: 1em - padding-right: 1em + padding-left: calc(#{$control-padding-horizontal} + 0.375em) + padding-right: calc(#{$control-padding-horizontal} + 0.375em) &.is-static background-color: transparent border-color: transparent box-shadow: none padding-left: 0 @@ -46,14 +50,14 @@ .textarea @extend %input-textarea display: block max-width: 100% min-width: 100% - padding: 0.625em + padding: $textarea-padding resize: vertical &:not([rows]) - max-height: 600px - min-height: 120px + max-height: $textarea-max-height + min-height: $textarea-min-height &[rows] height: initial // Modifiers &.has-fixed-size resize: none