1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

fixes #4819: manual fix of missing .control-label in responsive767 file, coupled with a remake

This commit is contained in:
Mark Otto 2012-08-29 13:05:43 -07:00
parent e27b1355b5
commit 2137cd65fb
2 changed files with 21 additions and 19 deletions

View file

@ -876,7 +876,7 @@
input[type="radio"] {
border: 1px solid #ccc;
}
.form-horizontal .control-group > label {
.form-horizontal .control-label {
float: none;
width: auto;
padding-top: 0;

View file

@ -132,25 +132,27 @@
}
// Remove the horizontal form styles
.form-horizontal .control-group > label {
.form-horizontal {
.control-label {
float: none;
width: auto;
padding-top: 0;
text-align: left;
}
// Move over all input controls and content
.form-horizontal .controls {
.controls {
margin-left: 0;
}
// Move the options list down to align with labels
.form-horizontal .control-list {
.control-list {
padding-top: 0; // has to be padding because margin collaspes
}
// Move over buttons in .form-actions to align with .controls
.form-horizontal .form-actions {
.form-actions {
padding-left: 10px;
padding-right: 10px;
}
}
// Modals
.modal {