fix(label): add missing text-wrap styles for ios

fixes #13157
This commit is contained in:
Brandy Carney
2018-03-22 11:12:36 -04:00
parent 1f19cc48c7
commit a9bd76adc6
2 changed files with 11 additions and 0 deletions

View File

@ -10,6 +10,11 @@
font-family: $label-ios-font-family; font-family: $label-ios-font-family;
} }
[text-wrap] .label-ios {
font-size: $label-ios-text-wrap-font-size;
line-height: $label-ios-text-wrap-line-height;
}
// iOS Default Label Inside An Input/Select Item // iOS Default Label Inside An Input/Select Item
// -------------------------------------------------- // --------------------------------------------------

View File

@ -25,3 +25,9 @@ $label-ios-margin-bottom: $item-ios-padding-bottom !default;
/// @prop - Margin start of the label /// @prop - Margin start of the label
$label-ios-margin-start: 0 !default; $label-ios-margin-start: 0 !default;
/// @prop - Font size of the label when the text wraps
$label-ios-text-wrap-font-size: 14px !default;
/// @prop - Line height of the label when the text wraps
$label-ios-text-wrap-line-height: 1.5 !default;