Skip to content

Add media rules to nav items into toggleable navbar #20083

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

Closed
wants to merge 1 commit into from
Closed

Add media rules to nav items into toggleable navbar #20083

wants to merge 1 commit into from

Conversation

kvlsrg
Copy link
Contributor

@kvlsrg kvlsrg commented Jun 6, 2016

PR to fix alignment of nav items into toggleable navbar

Here two before states of items in mobile dropdown of navbar:

before-1

before-2

And this is after that I get with changes (in this PR):

after

@@ -174,6 +174,20 @@
}
}

// Navigation items into toggleable navbar
.navbar-nav {
.nav-item {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're generally trying to avoid nesting, especially more than 1 level of it.
Is the .navbar-nav .nav-item part really necessary?

@kvlsrg
Copy link
Contributor Author

kvlsrg commented Jun 6, 2016

@cvrebert Yes, because it must to rewrire .navbar-nav .nav-item + .nav-item selector. Or I have to use rather !important?

@cvrebert
Copy link
Collaborator

cvrebert commented Jun 7, 2016

No, it's fine as-is then.

@lvmajor
Copy link

lvmajor commented Jul 20, 2016

Just to know, is there a reason why this is still opened? If it passes all the tests and everything, I just don't get why it's not merged, could someone kindly explain without jumping on me ?
Thanks in advance.

@cvrebert
Copy link
Collaborator

@os1r1s110 None of the core team work on Bootstrap as part of their jobs. It's an entirely nights-and-weekends affair. So we don't always have time to deal with PRs quickly.

@cvrebert
Copy link
Collaborator

CC: @mdo

@lvmajor
Copy link

lvmajor commented Jul 26, 2016

@cvrebert Just to let you know, I completely understand it and my comment was not intended to be negative in any way. I really appreciate the work all of the core team and contributors are doing. The question was simply to understand if something I didn't understand was blocking the PR to get merged except for time missing.

The real thing I didn't understand was that on June 6th, all tests had passed and you had "confirmed" kvlsrg's way of doing the modification, so I didn't get why it wasn't merged on this day as in my understanding, if all integration tests and everything passes, merge should/could be a breeze no? If not, sorry for my misunderstanding.

Thanks again for your time and have a good day!

@mdo mdo added this to the v4.0.0-alpha.3 milestone Jul 27, 2016
@mdo
Copy link
Member

mdo commented Jul 27, 2016

Pulled this into v4-dev with d506bd8. I ended up doing this manually to avoid merging in the incomplete v4-navbars work that's not ready for Alpha 3's release. Thanks!

@mdo mdo closed this Jul 27, 2016
@mdo mdo mentioned this pull request Jul 27, 2016
@kvlsrg
Copy link
Contributor Author

kvlsrg commented Jul 27, 2016

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants