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

[58454] Sidebar menu should be hidden when page width is reduced #17003

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

bsatarnejad
Copy link
Contributor

Ticket

https://community.openproject.org/wp/58454

What are you trying to accomplish?

While resizing the window, if the window size is small, hide the menu like when we reload the page.

Screenshots

Before:
https://github.com/user-attachments/assets/7fae43a9-0505-4f8d-9ef5-bff49760d4f3

After:
https://github.com/user-attachments/assets/7da06ace-4a34-4592-9364-195f07d2f184

What approach did you choose and why?

Hide the side menu while resizing if the window size is smaller than 1012px.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

@bsatarnejad bsatarnejad force-pushed the 58454-sidebar-menu-should-be-hidden-when-page-width-is-reduced branch from d423245 to 6a074fe Compare October 23, 2024 05:39
@bsatarnejad bsatarnejad changed the base branch from release/14.6 to dev October 23, 2024 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant