material-sense icon indicating copy to clipboard operation
material-sense copied to clipboard

Icon Button not centred in navigation bar

Open Xaraxia opened this issue 5 years ago • 2 comments

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%)" } },

Xaraxia avatar Jul 19 '19 02:07 Xaraxia

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 avatar Jul 19 '19 07:07 alexanmtz

But maybe there's no better approach using Flexbox?

alexanmtz avatar Jul 19 '19 10:07 alexanmtz