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

feat: Navigation switch #7132

Merged
merged 8 commits into from
May 24, 2024
Merged

feat: Navigation switch #7132

merged 8 commits into from
May 24, 2024

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented May 23, 2024

About the changes

Simple show/hide switch to have keyboard navigation
Screenshot 2024-05-23 at 17 50 41
Screenshot 2024-05-23 at 17 50 50

Also changed positioning to absolute so that the project search content doesn't escape the parent and the show main content is not shifted on resizing of the sidebar. As a result we need a way to overlay the sidebar over the content on smaller screens.

Important files

Discussion points

Copy link

vercel bot commented May 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2024 3:54pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview May 23, 2024 3:54pm

paddingTop: theme.spacing(2),
paddingBottom: theme.spacing(6),
height: '100%',
position: 'absolute',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removes sidebar from regular flow

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this change, since I'd like the content area to have the same padding on all sides when the sidebar is active. But let's see how it plays out.

@kwasniew kwasniew merged commit 292f430 into main May 24, 2024
8 of 10 checks passed
@kwasniew kwasniew deleted the navigation-switch branch May 24, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants