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

Fix #8325 - expanded menu #9442

Merged
merged 1 commit into from
Dec 6, 2016
Merged

Conversation

ncoden
Copy link
Contributor

@ncoden ncoden commented Dec 4, 2016

Fix #8325 - .expanded is a modifier for a horizontal menu, and should not be applied on a vertical menu.

Changes:

  • Move the .expanded modifier after .horizontal and before .vertical.
  • Add the .expanded modifiers for each breakpoint with the corresponding prefixes.

Other changes:

Note: The .expanded modifier should be applied only when the menu is horizontal. For example, on a menu which is made horizontal on the medium breakpoint, .medium-expanded should be used : .menu.vertical.medium-horizontal.medium-expanded.

See also: #8779. (Thanks to @natewiebe13).
Working demo: https://codepen.io/ncoden/pen/dOdjaO


⚠️ Require:

Fix foundation#8325.
See also: foundation#8779. Thanks to
@natewiebe13.

`.expanded` is a modifier for a horizontal menu, and should not be
applied on a vertical one.

Changes:
- Move the `.expanded` modifier after `.horizontal` and before
`.vertical`.
- Add the `.expanded` modifiers for each breakpoint with the
corresponding prefixes.

Other changes:
- Use `-zf-each-breakpoint` to generate responsive modifiers.

Note: The `.expanded` modifier should be applied only when the menu is
horizontal. For example, on a menu which is made horizontal on the
medium breakpoint, `.medium-expanded` should be used :
`.menu.vertical.medium-horizontal.medium-expanded`.
@ncoden ncoden force-pushed the fix/menu-expanded branch 3 times, most recently from bec45cf to 2c6b800 Compare December 6, 2016 08:00
@kball kball merged commit 42ae1f5 into foundation:develop Dec 6, 2016
@ncoden ncoden deleted the fix/menu-expanded branch April 7, 2018 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Responsive top bar has issues with $global-flexbox: true
2 participants