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

Lvl4 on left menu not handled #19

Open
oxedions opened this issue May 7, 2018 · 2 comments
Open

Lvl4 on left menu not handled #19

oxedions opened this issue May 7, 2018 · 2 comments

Comments

@oxedions
Copy link

oxedions commented May 7, 2018

Hello,

I know not everyone will need this, but it would be nice to go to lvl4 on left menu.
You just need to add it in base.css:

.wm-toc-lev1 > .wm-toc-text { padding-left: 14px; }
.wm-toc-lev2 > .wm-toc-text { padding-left: 28px; }
.wm-toc-lev3 > .wm-toc-text { padding-left: 42px; }
.wm-toc-lev4 > .wm-toc-text { padding-left: 56px; }

.wm-toc-lev1 + .wm-page-toc { margin-left: 14px; }
.wm-toc-lev2 + .wm-page-toc { margin-left: 28px; }
.wm-toc-lev3 + .wm-page-toc { margin-left: 42px; }
.wm-toc-lev4 + .wm-page-toc { margin-left: 56px; }

And it works like a charm :-)

And by the way, many thanks for this Theme, it's perfect !

Ox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@oxedions and others