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

Icon Button not centred in navigation bar #8

Open
Xaraxia opened this issue Jul 19, 2019 · 2 comments
Open

Icon Button not centred in navigation bar #8

Xaraxia opened this issue Jul 19, 2019 · 2 comments

Comments

@Xaraxia
Copy link

Xaraxia commented Jul 19, 2019

I've actually fixed this, thought you'd like to know. Not doing a pull request because the navbar is the only component I'm using.

iconContainer: { display: 'none', [theme.breakpoints.down('sm')]: { display: 'block', position: 'absolute', left: '50%', transform: "translate(-50%)" } },

@alexanmtz
Copy link
Owner

Hello @Xaraxia , thanks for this, actually you're right, is not centering in a mobile view, please send a pull request with your changes 🙏

@alexanmtz
Copy link
Owner

But maybe there's no better approach using Flexbox?

@j0pgrm j0pgrm mentioned this issue Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants