Problem/Motivation

When the sidebar is wide and vertical, there is a button to collapse it down to just the icons.
Below 64 rem, the button is not visible.

Admin Navigation missing vertical collapse button

Vertical position, left.

Admin Navigation vertical collapse button

Steps to reproduce

1. Choose horizontal navigation.
2. Make the screen narrow so the navigation is vertical.
3. Vertical collapse button is missing.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

mortona2k created an issue. See original summary.

mortona2k’s picture

Title: Horizontal navigation breaks vertical collapse » Show vertical collapse at narrower widths
Category: Bug report » Feature request
Issue summary: View changes

I think we should provide the button at narrower widths and use the flyout 3rd level menu when there's room.

mortona2k’s picture

I realize the flyout ticket got closed as won't fix. If you don't want further customizations to the vertical nav in this module, I can put them in a custom one. Feel free to close this.

nelo_drup’s picture

Status: Active » Closed (works as designed)

Thanks for offering, @mortona2k. Below 64rem the module deliberately steps aside and leaves core's drawer exactly as core ships it, so a collapse button at narrower widths would change core's own behaviour there. A custom module is the better home for it, or a core feature request if you think core should offer it. Closing as works as designed.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.