-
-
Notifications
You must be signed in to change notification settings - Fork 79k
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
Centering Logo with Alpha 6 Navbar #21605
Comments
I can confirm the @svenluijten workaround works. The
replace |
Hey guys, Sorry, i did notice this issue that you've pointed out but that isn't it. Here's my application right now in Alpha 5 stage: https://i.gyazo.com/b33d8a7fa2fd73018882010e56dca347.png As you can see, my logo is centered in the Navbar however in Alpha 6, with flexbox being used everywhere, i can't seem to keep it centered without a nav-item affecting it and pushing it to one side. |
@svenluijten Setting the margin-left and margin-right to 0 seems to be disabling the ability to toggle the navbar. Anyone else experiencing that issue? IOS 10 and Chrome here. |
Add a So the full fix on my end was, added to the fix above by @svenluijten :
Or CSS only from @ivanistheone :
|
is the actual issue that the |
@browner12 I just tried it out, setting the container width to 100% at less than 576px does the same thing as setting the margins to 0. The toggler is still unusable though and needs to have it's z-index set to 1. |
@browner12 That being said, this works too as a fix (although it's a bit ugly, kind of
|
I'm not overly familiar with Flexbox but i've updated to Alpha 6 and of course due to the new changes, my navbar broke.
I used to use
mx-auto
on my nav logo and then set a width to center it on the navbar but i can't seem to find a way to do this now with A6.I can get it to 'partially' center in that its offset by a few pixels but as soon as i add another link on either side, it moves.
Any suggestions how to do this? Or would it be possible to push a PR to add a class to do this?
Cheers
The text was updated successfully, but these errors were encountered: