diff options
| author | Mark Otto <[email protected]> | 2014-11-25 18:00:52 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-11-25 18:00:52 -0800 |
| commit | 12be9044f4bdce14769da5eb909faa1e115d6fcd (patch) | |
| tree | 6174b5a30d2cc8f948a66777f28dc8b334230760 /less/_forms.less | |
| parent | 15d98dc6b75db9a54704cc75aa50503bb78facaf (diff) | |
| download | bootstrap-12be9044f4bdce14769da5eb909faa1e115d6fcd.tar.xz bootstrap-12be9044f4bdce14769da5eb909faa1e115d6fcd.zip | |
fix a bunch of padding and alignment things for forms
Diffstat (limited to 'less/_forms.less')
| -rw-r--r-- | less/_forms.less | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/less/_forms.less b/less/_forms.less index b50dbb8ac..ef4bebac2 100644 --- a/less/_forms.less +++ b/less/_forms.less @@ -496,13 +496,13 @@ input[type="checkbox"] { .checkbox-inline { margin-top: 0; margin-bottom: 0; - padding-top: (@padding-base-vertical + 1); // Default padding plus a border + padding-top: (@padding-base-vertical + .1); // Default padding plus a border } // Account for padding we're adding to ensure the alignment and of help text // and other content below items .radio, .checkbox { - min-height: (@line-height-computed + (@padding-base-vertical + 1)); + min-height: (@line-height-computed + (@padding-base-vertical + .1)); } // Make form groups behave like rows @@ -516,7 +516,7 @@ input[type="checkbox"] { .control-label { text-align: right; margin-bottom: 0; - padding-top: (@padding-base-vertical + 1); // Default padding plus a border + padding-top: (@padding-base-vertical + .1); // Default padding plus a border } }); @@ -535,14 +535,14 @@ input[type="checkbox"] { .form-group-lg { @media (min-width: @screen-sm-min) { .control-label { - padding-top: ((@padding-lg-vertical * @line-height-lg) + 1); + padding-top: @padding-lg-vertical; } } } .form-group-sm { @media (min-width: @screen-sm-min) { .control-label { - padding-top: (@padding-sm-vertical + 1); + padding-top: (@padding-sm-vertical + .1); } } } |
