How to create indented sidebar navigation? #6460
-
Hey, is there some config / css trick to indent child pages? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hmm, they should be indented by default if they're really child pages of a section. I would need a minimal reproduction of some sort to be able to check if there are any css tricks available 🤔 |
Beta Was this translation helpful? Give feedback.
-
They're indented when there is that mkdocs-glightbox have their in-page headings look up the exact way i'd love having my child pages set up edit: that's There's probably some css trickery to steal from that, I'd appreciate if a css wizard found a way 👁👁 |
Beta Was this translation helpful? Give feedback.
Since you've updated the public version to match the initial screenshot, I could look at the source.
This should fit your needs:
Screenshoot
I didn't look at the
toc.intergrate
CSS creating this, so perhaps there might be something better 🤷