diff options
| author | Mark Otto <[email protected]> | 2016-05-08 23:14:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-05-08 23:14:48 -0700 |
| commit | f5d889c385e3e057e821b06d7b06a18d5bb0f3c0 (patch) | |
| tree | 9574f0283a941a6c7805272bc4bf0886dd36c002 | |
| parent | 707903c60c266b402a8aa88a1b02db61c719e4c6 (diff) | |
| download | bootstrap-f5d889c385e3e057e821b06d7b06a18d5bb0f3c0.tar.xz bootstrap-f5d889c385e3e057e821b06d7b06a18d5bb0f3c0.zip | |
update classes for inline form to new checkbox options
| -rw-r--r-- | scss/_forms.scss | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index 32836182c..24b2a2037 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -336,19 +336,16 @@ select.form-control-lg { // Remove default margin on radios/checkboxes that were used for stacking, and // then undo the floating of radios and checkboxes to match. - .radio, - .checkbox { + .form-check { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; - - label { - padding-left: 0; - } } - .radio input[type="radio"], - .checkbox input[type="checkbox"] { + .form-check-label { + padding-left: 0; + } + .form-check-input { position: relative; margin-left: 0; } |
