From b70c092376a50790e42b73d75c4aff5636f9e314 Mon Sep 17 00:00:00 2001 From: Kevin Ross Date: Fri, 29 Jan 2016 11:50:26 -0600 Subject: [PATCH] #849 v4 radio-inline labels are no longer aligned - was able to remove a padding workaround. --- scss/mixins/_forms.scss | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss index 0d1d64d3..b13e8eda 100644 --- a/scss/mixins/_forms.scss +++ b/scss/mixins/_forms.scss @@ -166,19 +166,22 @@ padding-top: ($label-top-margin + $static-font-size); // note: bottom-margin of this is determined by $spacer. @see _spacer.scss //margin-bottom: (1.5 * $help-font-size); - } @else { - - // for radios and checkboxes without a form-group, add some extra vertical spacing to pad down so that - // any help text above is not encroached upon, or so that it appears more evenly spaced vs form-groups - .radio, - label.radio-inline, - .checkbox, - label.checkbox-inline, - .switch { - padding-top: $spacer-y; - } } + // TODO: remove this when known stable. https://github.com/FezVrasta/bootstrap-material-design/issues/849 + //@else { + // + // // for radios and checkboxes without a form-group, add some extra vertical spacing to pad down so that + // // any help text above is not encroached upon, or so that it appears more evenly spaced vs form-groups + // .radio, + // label.radio-inline, + // .checkbox, + // label.checkbox-inline, + // .switch { + // padding-top: $spacer-y; + // } + //} + // Set all line-heights preferably to 1 so that we can space out everything manually without additional added space // from the default line-height of 1.5 .form-control,