-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
.container within navbar undoes ability to use flexbox positioning #21708
Comments
@davidtmiller I believe you're experiencing this issue, which also seems related to |
@henwen Yep that's the one...thanks! |
Fixes in #21605 |
@davidtmiller, I think this is a different issue. What @henwen report is that Is it your actual issue @henwen ? Although, a Indeed, a Is what you trying to achieve is to position with flex the content of the container when the navbar is collapsible ? |
@vanduynslagerp yep, that's my actual issue, and it's the case regardless of whether the navbar is collapsible or not. |
I believe the container issue was fixed with #21722. |
A stated goal of the Alpha6
.navbar
is the ability to use flexbox to position items within.This works fine for elements that are immediate children of
.navbar
(the flex parent). However, when a.container
is placed within.navbar
(a common pattern), flexbox positioning is no longer an option because.container
is notdisplay: flex
.One could manually add
d-flex
but that seems unintuitive whendisplay: flex
is presented as the assumed display context for navbars.The text was updated successfully, but these errors were encountered: