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

Better table of contents layout #486

Closed
4 of 5 tasks
edemaine opened this issue Sep 15, 2020 · 0 comments
Closed
4 of 5 tasks

Better table of contents layout #486

edemaine opened this issue Sep 15, 2020 · 0 comments

Comments

@edemaine
Copy link
Owner

edemaine commented Sep 15, 2020

Tomohiro writes: "The vertical line is more understandable if it is associated with the parent, but currently the line is connected to the left margin of the parent line. Is it possible to remove the left margin?"

image

  • Stop vertical bar a little short, to match padding of text to the right. This makes it clearer where the subtree ends.
  • Remove left margin of table of contents entries
  • Increase gap after vertical lines from 3px to 5px
  • Experiment with different purple colors for distinction
  • Also add overflow-wrap to avoid horizontal scrollbar

image

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

No branches or pull requests

1 participant