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
Currently, when you open a submenu, the downward arrow icon does not change. Ideally, it would flip into an upward arrow when the submenu is open.
Add a CSS transform to flip the SVG arrow icon. For example, using the following CSS for on-click submenus:
.wp-block-navigation-submenu__toggle[aria-expanded=true] .wp-block-navigation__submenu-icon svg { transform: scaleY(-1); }
The text was updated successfully, but these errors were encountered:
What problem does this address?
Currently, when you open a submenu, the downward arrow icon does not change. Ideally, it would flip into an upward arrow when the submenu is open.
What is your proposed solution?
Add a CSS transform to flip the SVG arrow icon. For example, using the following CSS for on-click submenus:
The text was updated successfully, but these errors were encountered: