-
Notifications
You must be signed in to change notification settings - Fork 392
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
auto-determine width based on number of nav items #91
Comments
Hi @jenlampton - I've added this in v 1.2.1 (44bb776). Thanks! |
@jenlampton Here's the latest release - https://github.com/indyplanets/flexnav/releases/tag/v1.2.2 |
I think, it's a better solutions to set the width with CSS and not a calculated width as inline style. If we have i.e. short and long Menu-items we can work with padding and it will looks better. |
I agree with Helrunar, is it possible to not make each li an equal width within the menu? Thanks, this is a great menu. |
@jenlampton @Helrunar @eduski I've made an option for calculating menu items that defaults to false.
https://github.com/indyplanets/flexnav/releases/tag/v1.2.3 |
It appears as though we are only allowed 5 navigation items, since the width is hard-coded to 20%.
It would be wonderful if there was a way to count the number of items in the menu, and determine the width automatically with javascript.
The text was updated successfully, but these errors were encountered: