-
-
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
Doc Sidebar is covering NavBar Buttons #4826
Comments
@fabrusso hi, could you please provide a reproducible repo or website link? |
https://crono.matchplat.io/docs/installation/installation Thanks. |
I'm also experiencing this issue, it may be related to CSS minification. When using the local server, my --ifm-z-index-dropdown: 100;
--ifm-z-index-fixed: 200;
--ifm-z-index-overlay: 400; After a production build, the same lines read: --ifm-z-index-dropdown: #100;
--ifm-z-index-fixed: #200;
--ifm-z-index-overlay: #400; |
This was fixed in PR cssnano/cssnano#1122 @omgovich thanks for that! @fabrusso @mhwinkler we have explicitly bumped the appropriate versions of CSS minification packages, but since we use caret ranges, you can simply reinstall dependencies of your site and remove previous build artifacts by running |
@lex111 when I run npm run start, this fix seems to be working. but when I do an npm run build followed npm run serve it's still broken. |
Summary: Docusaurus beta 0 has been released so let's use it! Also, you are currently affected by an annoying regression in a Docusaurus transitive dependency (cssnano@5.0.3 => facebook/docusaurus#4826) Reported by christianvuerings here: #3469 (comment)  This should now be fixed by re-generating the lockfile. Pull Request resolved: #3505 Reviewed By: kassens Differential Revision: D28874560 Pulled By: rbalicki2 fbshipit-source-id: 6baece255be570abd5ec5f19f10e7f503be482f9
Also still happening to me 😕 |
@rrdelaney you are using cssnano@5.0.3, please make sure it's not the case anymore. A good way is to re-generate your lockfile by deleting it, it will pick a newer (non-buggy) cssnano version |
🐛 Bug Report
The navbar in the documentation page is not working.
Is correctly working in the Home page.
I checked the the HTML and It seems that the sidebar containing Doc link has a margin-top that is covering the buttons area.
Have you read the Contributing Guidelines on issues?
yes
To Reproduce
If possible, use https://new.docusaurus.io to create a CodeSandbox reproducible demo of the bug.
(Write your steps here:)
Expected behavior
I expect the buttons to redirect me to the url\src
Actual Behavior
Buttons are not clickable
Your Environment
Reproducible Demo
Doc to check:
https://crono.matchplat.io/docs/installation/installation
Current margin of the child DIV:

Parent DIV covering:

Disabling that margin-top:

The Sidebar with no Margin Top and clickable buttons:

The text was updated successfully, but these errors were encountered: