-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
fix(v2): restore responsive menu #5063
Conversation
On the other hand, this is good sign to finally get rid of this button through #4273! 😜 |
✔️ [V2] 🔨 Explore the source changes: f046552 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/60d5a966f92a2d000820fab8 😎 Browse the preview: https://deploy-preview-5063--docusaurus-2.netlify.app |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-5063--docusaurus-2.netlify.app/ |
@@ -78,9 +78,3 @@ | |||
) !important; | |||
} | |||
} | |||
|
|||
@media (max-width: 996px) { | |||
.docSidebarContainer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact, collapse sidebar button is already hidden, so I'm even more surprised how it can be displayed when the viewport is resized in browser.
docusaurus/packages/docusaurus-theme-classic/src/theme/DocSidebar/styles.module.css
Lines 97 to 98 in 67d31f4
.collapseSidebarButton { | |
display: none; |
Size Change: -26 B (0%) Total Size: 601 kB ℹ️ View Unchanged
|
thanks! will release a fix for this soon |
Motivation
After merging of #5035, the button to display responsive menu is no longer displayed. I just now noticed that :(
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Preview
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)