-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Button dropdown does not align right when on right side of page #2045
Comments
nice, i also want to post this at the same time :) If a button in a .pull-right the button should opens to the left. 👍 |
just a quick workaround is to set this class ".navbar .nav.pull-right .dropdown-menu" to replace to ".pull-right .dropdown-menu" here is a code-sample to get it to work without editing the bootstrap.css
|
Thanks for the quick fix simonfranz! Works perfectly. Still keeping this open to attract attention from Bootstrap team. |
Just resolved this in 2.0.2-wip. I've abstracted the styles mentioned here (we used them in the navbar's CSS) to be generalized for use everywhere else. The Thanks! |
Here's a jsbin |
Thanks for the tip Harvey! |
Thanks, |
you can use the class dropdown-menu-right in the version 3.3 of the bootstrap |
This is worked for me. |
Here is the example that worked for me by @troyharvey. Forced to use bootstrap3 editing the Views associated with the Flask-Admin extension and couldn't figure out how to get my dropdown items to line up under the menu button. This did the trick. Just adding the
|
I currently have a dropdown button on the right side of my page. When clicked, the left edge of the dropdown aligns with the left edge of the button. At certain window widths, the dropdown gets cut off by the window edge. Having the right side of the dropdown align with the right side of the button would solve this.
http://i.imgur.com/yeYqW.png
The text was updated successfully, but these errors were encountered: