diff options
| author | Mark Otto <[email protected]> | 2012-01-15 11:33:30 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-15 11:33:30 -0800 |
| commit | 9f732e90d4e8f3a598a798fb8b29a4f59c0b7631 (patch) | |
| tree | 21b81bc6c10044793e81a1d262cce32b1aa1fb47 /lib | |
| parent | fe160261e460903cae251de25eaf41f236bd051e (diff) | |
| download | bootstrap-9f732e90d4e8f3a598a798fb8b29a4f59c0b7631.tar.xz bootstrap-9f732e90d4e8f3a598a798fb8b29a4f59c0b7631.zip | |
make horizontal form labels map to default grid sizing
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/forms.less | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/forms.less b/lib/forms.less index 04e684c99..ef4804afc 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -461,10 +461,6 @@ input::-webkit-input-placeholder { .control-group { margin-bottom: @baseLineHeight; } -// Bold the labels so they stand out -.control-group > label { - font-weight: bold; -} // Horizontal-specific styles // -------------------------- @@ -473,16 +469,16 @@ input::-webkit-input-placeholder { // Float the labels left .control-group > label { float: left; - width: 130px; + width: 120px; padding-top: 5px; text-align: right; } // Move over all input controls and content .controls { - margin-left: 150px; + margin-left: 140px; } // Move over buttons in .form-actions to align with .controls .form-actions { - padding-left: 150px; + padding-left: 140px; } } |
