diff options
| author | Mark Otto <[email protected]> | 2012-08-17 16:28:45 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-08-17 16:28:45 -0700 |
| commit | 256a25f25c8adc266f9af3099b5143cb49097443 (patch) | |
| tree | 21ae1b16f3b595cbcf08507344745e54f17b8d6f /less/forms.less | |
| parent | 5b947b8a2f801d33af2fe8d78f9655ce1ebd5e7c (diff) | |
| download | bootstrap-256a25f25c8adc266f9af3099b5143cb49097443.tar.xz bootstrap-256a25f25c8adc266f9af3099b5143cb49097443.zip | |
fixes #4260 and #4322: set vertical-align to top on input-prepend components to solve modal rounding issues
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/less/forms.less b/less/forms.less index 03bec5d35..c77339e41 100644 --- a/less/forms.less +++ b/less/forms.less @@ -417,7 +417,7 @@ select:focus:required:invalid { margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms *margin-left: 0; font-size: @baseFontSize; - vertical-align: middle; + vertical-align: top; .border-radius(0 @inputBorderRadius @inputBorderRadius 0); // Make input on top when focused so blue border and shadow always show &:focus { @@ -435,13 +435,13 @@ select:focus:required:invalid { line-height: @baseLineHeight; text-align: center; text-shadow: 0 1px 0 @white; - vertical-align: middle; background-color: @grayLighter; border: 1px solid #ccc; } .add-on, .btn { margin-left: -1px; + vertical-align: top; .border-radius(0); } .active { |
