Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade issue with drop down navigation bar. #4867

Closed
0xsven opened this issue Aug 30, 2012 · 3 comments
Closed

Upgrade issue with drop down navigation bar. #4867

0xsven opened this issue Aug 30, 2012 · 3 comments

Comments

@0xsven
Copy link

0xsven commented Aug 30, 2012

I recently upgraded from Bootstrap 2.0.x to 2.1.0. Unfortunately my drop-down navigation item doesn't behave like before with 2.0.x.

My dropdown-menu opens to the right now. With the older version of Bootstrap it opened to the left. Is that a bug or did something change?

Picture before: http://i50.tinypic.com/9g8sjd.jpg
Picture after: http://i45.tinypic.com/1z3mbmp.jpg

My Code looks like that:

       <div class="nav-collapse pull-right">
            <ul class="nav">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#">
                        <i class="icon-user"></i>
                    </a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="/Profile">Profile</a></li>
                        <li class="divider"></li>
                        <li><a href="/logout">Sign Out</a></li>
                    </ul>
                </li>
            </ul>
        </div>
@thezoggy
Copy link

add pull-right to your menu ul, <ul class="dropdown-menu pull-right" role="menu">

@0xsven
Copy link
Author

0xsven commented Aug 30, 2012

Thank you, that solved the problem!

@thezoggy
Copy link

glad to hear it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants