diff options
| author | Mark Otto <[email protected]> | 2012-08-29 13:05:43 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-29 13:05:43 -0700 |
| commit | 2137cd65fb528d0eadd15c2554250a12b5764bfd (patch) | |
| tree | c45b349cfd6510e5de859ac407e6f62b99080b2b | |
| parent | e27b1355b58331eeb24915bee3e1c9dde4977f17 (diff) | |
| download | bootstrap-2137cd65fb528d0eadd15c2554250a12b5764bfd.tar.xz bootstrap-2137cd65fb528d0eadd15c2554250a12b5764bfd.zip | |
fixes #4819: manual fix of missing .control-label in responsive767 file, coupled with a remake
| -rw-r--r-- | docs/assets/css/bootstrap-responsive.css | 2 | ||||
| -rw-r--r-- | less/responsive-767px-max.less | 38 |
2 files changed, 21 insertions, 19 deletions
diff --git a/docs/assets/css/bootstrap-responsive.css b/docs/assets/css/bootstrap-responsive.css index fcc496760..f8077aa1f 100644 --- a/docs/assets/css/bootstrap-responsive.css +++ b/docs/assets/css/bootstrap-responsive.css @@ -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; 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 |
