From 1c7fe5d887d853ca95a2b7399ddd59c9b401568d Mon Sep 17 00:00:00 2001 From: Waynn Lue Date: Wed, 6 Mar 2013 22:01:21 -0800 Subject: [PATCH 1/2] fix pluralization since "a" is in front --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c97e8b81ee..463bfca781 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ Looking to contribute something to Bootstrap? **Here's how you can help.** We only accept issues that are bug reports or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Bootstrap core. Please read the following guidelines before opening any issue. 1. **Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available. -2. **Create an isolated and reproducible test case.** Be sure the problem exists in Bootstrap's code with a [reduced test cases](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report. +2. **Create an isolated and reproducible test case.** Be sure the problem exists in Bootstrap's code with a [reduced test case](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report. 3. **Include a live example.** Make use of jsFiddle or jsBin to share your isolated test cases. 4. **Share as much information as possible.** Include operating system and version, browser and version, version of Bootstrap, customized or vanilla build, etc. where appropriate. Also include steps to reproduce the bug. From 812b99263f08d2306219ed6fcbe1685be17d6a10 Mon Sep 17 00:00:00 2001 From: pickypg Date: Fri, 15 Mar 2013 02:54:24 -0300 Subject: [PATCH 2/2] Fix dropdown (and therefore typeahead) wrap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I have recently been experimenting with a lot of Typeahead controls, and I ran into a situation where my Typeahead was too wide for my screen, particularly on mobile devices, and it was not wrapping as I had expected it to do. http://jsfiddle.net/Mtxkn/3/ Changing the CSS for `.dropdown-menu > li > a` to `white-space: normal` causes it to wrap in every scenario that I have seen, whereas leaving it as `nowrap` never does what I want when the text is too long for a given row. It's possible that this has ramifications for other dropdown menus, but honestly I expect that even those would prefer to wrap than to extend the screen horizontally.  If that is not the case, then it would work to change the typeahead version of this only: ```css .typeahead > li > a {     white-space: normal; } ``` --- less/dropdowns.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/less/dropdowns.less b/less/dropdowns.less index bbfe3fd3e3..e30144527a 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -79,7 +79,7 @@ font-weight: normal; line-height: @baseLineHeight; color: @dropdownLinkColor; - white-space: nowrap; + white-space: normal; } }