diff options
| author | Mark Otto <[email protected]> | 2012-09-17 23:11:49 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-09-17 23:11:49 -0700 |
| commit | 239e6a7d210a69413d0f4b4b000f2f38f53e1c44 (patch) | |
| tree | 2609b3fec096784d9558585af84eac6c0baf97f8 /less/forms.less | |
| parent | cedb3c7c56887d4ca42296ee193f2ff08dfe9ac4 (diff) | |
| download | bootstrap-239e6a7d210a69413d0f4b4b000f2f38f53e1c44.tar.xz bootstrap-239e6a7d210a69413d0f4b4b000f2f38f53e1c44.zip | |
fixes #5082 manually: reset font-size for .dropdown-menu within .input-prepend/-append
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/less/forms.less b/less/forms.less index d4e0f3487..a48d6cb58 100644 --- a/less/forms.less +++ b/less/forms.less @@ -418,16 +418,23 @@ select:focus:required:invalid { .input-append, .input-prepend { margin-bottom: 5px; - font-size: 0; + font-size: 0; // white space collapse hack white-space: nowrap; // Prevent span and input from separating + // Reset the white space collapse hack + input, + select, + .uneditable-input, + .dropdown-menu { + font-size: @baseFontSize; + } + input, select, .uneditable-input { position: relative; // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms *margin-left: 0; - font-size: @baseFontSize; vertical-align: top; .border-radius(0 @inputBorderRadius @inputBorderRadius 0); // Make input on top when focused so blue border and shadow always show |
