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

Nav-stacked not perfectly aligned #8714

Closed
leeaston opened this issue Jul 28, 2013 · 1 comment
Closed

Nav-stacked not perfectly aligned #8714

leeaston opened this issue Jul 28, 2013 · 1 comment

Comments

@leeaston
Copy link

This bit of css spaces nav nav-pills by 2px, but it causes nav nav-pills nav-stacked to not be perfectly aligned, i.e. the second and subsequent pills are indented by 2px:

.nav-pills > li + li {
margin-left: 2px;
}

To fix it, this:
.nav-stacked > li + li > a {
margin-top: 2px;
margin-left: 0;
}

needs to be changed to:
.nav-stacked > li + li {
margin-top: 2px;
margin-left: 0;
}

I think...

@mdo
Copy link
Member

mdo commented Jul 28, 2013

Thanks, fixed in v3.

@mdo mdo closed this as completed Jul 28, 2013
mdo added a commit that referenced this issue Jul 28, 2013
stempler pushed a commit to stempler/bootstrap that referenced this issue Apr 11, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants