fix(input): text input width calculation (#8063)

This commit is contained in:
Alan Agius
2016-10-12 20:31:48 +02:00
committed by Brandy Carney
parent 58beb4173f
commit 21fa5cd75e

View File

@@ -31,7 +31,7 @@ $text-input-ios-highlight-color-invalid: color($colors-ios, danger) !default;
margin: $text-input-ios-margin-top $text-input-ios-margin-right $text-input-ios-margin-bottom $text-input-ios-margin-left;
padding: 0;
width: calc(100% - #{$text-input-ios-margin-right} - #{$text-input-ios-margin-left});
width: calc(100% - #{($text-input-ios-margin-right + $text-input-ios-margin-left)});
}