.divider-vertical
Hi, has the .divider-vertical for navbars been dropped from bootstrap 3, or is it just a feature overlook? I don't see it in neither docs nor code.
It's been dropped.
It is very useful! I wonder what was the reason it was dropped... It was not a good practice or something else?
+1 to return vertical divider back.
+1 really don't understand why this was dropped without a reasonable alteranative.
@mdo I can't seem to find a statement of the reason why we dropped it?
+1 on bringing this back!
To be honest, a 1px vertical line didn't seem like something we really needed to create for the masses. In many cases, adding left and right borders to the nav links is the best bet. At other times rolling something completely custom makes more sense given a project's style.
I'm still against re-adding it at this point.
Sure, it is not a necessity, however since the vertical line needs to become a horizontal line when it is collapsing to the mobile interface, it is at least not a trivial thing. And the much more trivial "divider" for the drop down is still there.
If the divider could be more general and just adapts to be a vertical divider would be a simple option.
For consistency in the navigation there should be also the possibility to divide in a vertical way, not only horizontally.
+1 I agree, this would be good to have it back if possible
+1
+1
+1
+1
If this is to be removed, then the regular .divider class should be removed too. It makes no sense to drop one and not the other, keep or drop the whole divider idea.
Personally I really find them useful - as mentioned above, they are used to great effect when resizing to xs views, where the dividers can be transformed into horizontal ones.
+1
So since there is such a demand, could you please reopen the ticket, or create a new one and post the link here, so you could at least reevaluate the decision, and then at least tell us why it was removed?
If this is to be removed, then the regular .divider class should be removed too. It makes no sense to drop one and not the other, keep or drop the whole divider idea.
It did at the time, @57u, because we began adding our own "dividers" to the navbar content via borders on navbar sub-components and what not. And we cannot remove the dropdown divider now because that would break backward compatibility. Can't do that until v4.
So since there is such a demand, could you please reopen the ticket, or create a new one and post the link here, so you could at least reevaluate the decision, and then at least tell us why it was removed?
A handful of people isn't much demand to us. I don't mean to sound snarky or asshole-ish, so please hear me out. The reason for removing it was stated above already—a 1px line is not difficult to add yourself. Add borders wherever you need them.
Come v4, I can imagine us revisiting this to not do borders, but instead use dividers for more utility across viewport ranges, finer tuning of spacing, etc. Until then, it's not likely to be re-added.
I was trying to find this and figured it wasn't in v3, as stated you should just style borders yourself and using a whole li element within a list doesn't make sense especially in terms of SEO, surely google knows to omit empty elements, but still a whole li element seems like overkill. This has changed my mind on how it should be now : )
just DIY the old one xD eg. for navbar: .navbar .divider-vertical { height: 40px; margin: 0 9px; border-left: 1px solid #f2f2f2; border-right: 1px solid #ffffff; } now you have it back!
Thats wrong, won't work. Try it and look at it when the menu collapsed...
@mdo, you made a breaking API change for no reason, and this thread shows there is demand, it might be small, but it is there, and it makes your product breaking others work. As a library you should have good reasons for breaking changes. But you don't even know the reason for the removal.
This is the kind of library I will avoid in the future, because you never can be sure that the next update breaks your whole design. And your reaction shows, I need to search an alternative soon, because bootstrap should avoid work, and not add to the designers work.
You are absolutely right!(it doesn't offer what botstrap is supposed to offer but you can build on it using javascript or css workarounds ) I also agree that they shouldn't remove it because it makes things complicated.