0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-06 04:08:22 +01: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"] { input[type="radio"] {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
.form-horizontal .control-group > label { .form-horizontal .control-label {
float: none; float: none;
width: auto; width: auto;
padding-top: 0; padding-top: 0;

View File

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