no.css
no.css copied to clipboard
use flexbox for nav layout - instead of table / float - based styling
Here's an attempt at a flexbox-based nav layout:
https://codesandbox.io/s/competent-http-mwneo
I think it's a good idea to use flexbox as a more modern alternative to tables / floats.
Note that I've also introduced a surrounding
This is not a fixed proposal and some things will look slightly different - It's more of a suggestion to maybe work from.
I apologize I have overlooked this. I like what you did. Should I just use it or would you prefer to submit a PR?
Hey! This would need some more work before being merged. In particular I didn't work on nested menus, I think the layout of them would still be wrong. I'll be away from any computer for another 2 weeks, after that I can work on this again and also create a proper pull request!
no hurry on my side.