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

v3 - Issue if title of a justified nav item is to long #17380

Closed
TheZoker opened this issue Aug 28, 2015 · 5 comments
Closed

v3 - Issue if title of a justified nav item is to long #17380

TheZoker opened this issue Aug 28, 2015 · 5 comments

Comments

@TheZoker
Copy link

If you justify a nav-tab and the content of a tab is to long, there is a style issue
img_2015 08 28_11h26m52s_001_

https://jsbin.com/tejaza/edit?html,output

BTW: Are justified navs removed in v4?

@cvrebert
Copy link
Collaborator

BTW: Are justified navs removed in v4?

Yes: http://v4-alpha.getbootstrap.com/migration/#whats-removed

@TheZoker TheZoker changed the title v3 - Issue if content of a justified nav item is to long v3 - Issue if title of a justified nav item is to long Aug 28, 2015
@TheZoker
Copy link
Author

@cvrebert Any reason why?

@cvrebert
Copy link
Collaborator

Moving the border-bottom from .nav-tabs.nav-justified>li>a to .nav-tabs.nav-justified>li:not(.active) basically fixes this, at the cost of not working in IE8.

@cvrebert
Copy link
Collaborator

I presume @mdo was the one who removed it and would therefore know why.

@mdo
Copy link
Member

mdo commented Sep 1, 2015

There's no way around this kind of stuff with a justified nav. It's an equal-width set of nav links—if one of the nav links has far too much content, it simply doesn't work. There's no adjustments we can or should make as far as I'm concerned. Your only options are overriding the CSS yourself, or shortening the label.

And justified navs were removed, but might come back before launch. I rewrote all our nav stuff—and still have more work to do there—and haven't finished it all up yet.

@mdo mdo closed this as completed Sep 1, 2015
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

3 participants