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

Fix nested toc style issue on sidebar #595

Merged
merged 1 commit into from
Aug 8, 2018
Merged

Fix nested toc style issue on sidebar #595

merged 1 commit into from
Aug 8, 2018

Conversation

keelii
Copy link
Contributor

@keelii keelii commented Jul 31, 2018

This PR is trying to fix nested toc style issue below.

Before
before

After
after

Here is my solution.

  1. Remove recursive toc outer tag li
  2. remove .sidebar li marginLeft
  3. add .sidebar ul marginLeft

Related issue:
#421
#519

1. Remove recursive toc outer tag li
2. remove .sidebar li marginLeft
3. add .sidebar ul marginLeft
@jhildenbiddle
Copy link
Member

I haven't tested the PR, but if this fixes the inconsistent nesting then I'm all for it!

Thanks, @keelii. Looking forward to this being merged.

@QingWei-Li QingWei-Li merged commit 100ab01 into docsifyjs:master Aug 8, 2018
@ThomsonTang
Copy link

The issue haven't been fixed. How to solve it? @keelii Thanks!

@keelii
Copy link
Contributor Author

keelii commented Aug 30, 2018

@ThomsonTang This PR has being merged, just waiting for next release or you can read Files change fix it by yourself.

@ThomsonTang
Copy link

@keelii I change the files on my local machine about this PR then that's all right. Thank you very much.

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

Successfully merging this pull request may close these issues.

None yet

4 participants