Permalink
Browse files

fixes #4819: manual fix of missing .control-label in responsive767 fi…

…le, coupled with a remake
  • Loading branch information...
1 parent e27b135 commit 2137cd65fb528d0eadd15c2554250a12b5764bfd @mdo mdo committed Aug 29, 2012
Showing with 21 additions and 19 deletions.
  1. +1 −1 docs/assets/css/bootstrap-responsive.css
  2. +20 −18 less/responsive-767px-max.less
@@ -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;
@@ -132,24 +132,26 @@
}
// Remove the horizontal form styles
- .form-horizontal .control-group > label {
- float: none;
- width: auto;
- padding-top: 0;
- text-align: left;
- }
- // Move over all input controls and content
- .form-horizontal .controls {
- margin-left: 0;
- }
- // Move the options list down to align with labels
- .form-horizontal .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 {
- padding-left: 10px;
- padding-right: 10px;
+ .form-horizontal {
+ .control-label {
+ float: none;
+ width: auto;
+ padding-top: 0;
+ text-align: left;
+ }
+ // Move over all input controls and content
+ .controls {
+ margin-left: 0;
+ }
+ // Move the options list down to align with labels
+ .control-list {
+ padding-top: 0; // has to be padding because margin collaspes
+ }
+ // Move over buttons in .form-actions to align with .controls
+ .form-actions {
+ padding-left: 10px;
+ padding-right: 10px;
+ }
}
// Modals

0 comments on commit 2137cd6

Please sign in to comment.