Skip to content

Conversation

@manhphuc
Copy link

Summary

This PR fixes an issue on small screens where the navigation toggle icon in the local navigation bar displayed both the chevron and hamburger lines at the same time, resulting in a visually cluttered toggle.

The update hides the horizontal “hamburger” paths in the toggle SVG while keeping the chevron visible, aligning the icon with the intended collapsed navigation design.

Details

  • Scoped to the local navigation bar only.
  • Uses CSS to target the extra SVG paths rendered by core/navigation.
  • No changes to markup or JavaScript behavior.
  • Improves visual clarity without affecting accessibility or interaction.

Testing

  • Tested on mobile viewport sizes.
  • Verified that only the chevron icon is visible for the navigation toggle.
  • Confirmed that opening and closing the navigation menu behaves as expected.

Fixes https://meta.trac.wordpress.org/ticket/8139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant