aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-08-29 13:05:43 -0700
committerMark Otto <[email protected]>2012-08-29 13:05:43 -0700
commit2137cd65fb528d0eadd15c2554250a12b5764bfd (patch)
treec45b349cfd6510e5de859ac407e6f62b99080b2b /less
parente27b1355b58331eeb24915bee3e1c9dde4977f17 (diff)
downloadbootstrap-2137cd65fb528d0eadd15c2554250a12b5764bfd.tar.xz
bootstrap-2137cd65fb528d0eadd15c2554250a12b5764bfd.zip
fixes #4819: manual fix of missing .control-label in responsive767 file, coupled with a remake
Diffstat (limited to 'less')
-rw-r--r--less/responsive-767px-max.less38
1 files changed, 20 insertions, 18 deletions
diff --git a/less/responsive-767px-max.less b/less/responsive-767px-max.less
index 3202c1905..eebecb8e4 100644
--- a/less/responsive-767px-max.less
+++ b/less/responsive-767px-max.less
@@ -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