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