0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

don't set horizontal padding on .form-control-label /cc #18130 #17498

This commit is contained in:
Mark Otto 2016-02-09 00:34:41 -08:00
parent d7d32c475f
commit 51d3267ea9

View File

@ -76,7 +76,8 @@ 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 {
padding: $input-padding-y $input-padding-x;
padding-top: $input-padding-y;
padding-bottom: $input-padding-y;
margin-bottom: 0; // Override the `<label>` default
}