-
Notifications
You must be signed in to change notification settings - Fork 4k
Description
Context
Material for MkDocs is awesome! I love it!
Here is a fix to this bug:
https://github.com/castedo/mkdocs-material-bug1/blob/main/docs/style/extra.css
Probably not the right fix, but it is what I current hack into my websites.
Bug description
When I build with mkdocs-material 9.4.8 and 9.4.14 and 9.5.9 and use theme: features: toc.integrate I see an unexpected indentation in the left nav.
With the attached repo case, I see the following:

But what I expected and wanted is:

which is consistent with what I see in the docs:
Related links
Reproduction
You can also clone https://github.com/castedo/mkdocs-material-bug1 which has the same contents as the zip.
Steps to reproduce
mkdocs build or mkdocs serve on the repro example above.
You can uncomment the extra_css: - styles/extra.css lines to fix the problem.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction.
