diff options
| author | Mark Otto <[email protected]> | 2016-04-08 21:05:23 -0500 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-04-08 21:05:23 -0500 |
| commit | 0a4d3155ab70526cb3f17fbc8fd381d392fc4390 (patch) | |
| tree | 7b52824b08fd880284479c06f7ba53c55dc490b1 /scss/_forms.scss | |
| parent | fd260961e6fc0f2d84ba52589fde28901148c272 (diff) | |
| download | bootstrap-0a4d3155ab70526cb3f17fbc8fd381d392fc4390.tar.xz bootstrap-0a4d3155ab70526cb3f17fbc8fd381d392fc4390.zip | |
Fixes #18573: Change name of .form-control-label to .col-form-label (and .form-control-legend to .col-form-legend) to reiterate use for only grid layouts
Diffstat (limited to 'scss/_forms.scss')
| -rw-r--r-- | scss/_forms.scss | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss index b31d5fcc5..c3a4be270 100644 --- a/scss/_forms.scss +++ b/scss/_forms.scss @@ -75,19 +75,19 @@ select.form-control { // For use with horizontal and inline forms, when you need the label text to // align with the form controls. -.form-control-label { +.col-form-label { padding-top: $input-padding-y; padding-bottom: $input-padding-y; margin-bottom: 0; // Override the `<label>` default } -.form-control-label-lg { +.col-form-label-lg { padding-top: $input-padding-y-lg; padding-bottom: $input-padding-y-lg; font-size: $font-size-lg; } -.form-control-label-sm { +.col-form-label-sm { padding-top: $input-padding-y-sm; padding-bottom: $input-padding-y-sm; font-size: $font-size-sm; @@ -100,7 +100,7 @@ select.form-control { // For use with horizontal and inline forms, when you need the legend text to // be the same size as regular labels, and to align with the form controls. -.form-control-legend { +.col-form-legend { padding-top: $input-padding-y; padding-bottom: $input-padding-y; margin-bottom: 0; |
