diff options
| author | Mark Otto <[email protected]> | 2012-01-27 09:40:04 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-27 09:40:04 -0800 |
| commit | 97546adc90a9c8149bb4560641b4164338e38063 (patch) | |
| tree | d1ec231e7a74a803d07e8a01f8b696d546173046 /less/forms.less | |
| parent | e44a7dd4ff2d505e6bc41ba0a5fdf66650cdf605 (diff) | |
| parent | f51e703ba6a87ad504682c16b6dd747ebcfd2afb (diff) | |
| download | bootstrap-97546adc90a9c8149bb4560641b4164338e38063.tar.xz bootstrap-97546adc90a9c8149bb4560641b4164338e38063.zip | |
Merge branch 'ie_7_base' of https://github.com/phopkins/bootstrap into phopkins-ie_7_base
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less index d2e049de5..55a646368 100644 --- a/less/forms.less +++ b/less/forms.less @@ -440,6 +440,15 @@ select:focus:required:invalid { margin-left: -1px; .border-radius(0 3px 3px 0); } + input:first-child { + // In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input + // inherit the sum of its ancestors' margins. + *margin-left: -160px; + + &+.add-on { + *margin-left: -21px; + } + } } |
