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

adding right toc showing when there's no sidebar content #300

Merged
merged 1 commit into from Sep 5, 2019

Conversation

choldgraf
Copy link
Member

@choldgraf choldgraf commented Sep 5, 2019

This adds a tiny javascript snippet to check whether a page has any sidebar content, and if not, then the TOC will show up in narrower screens than normal. This should prevent as many cases where there is a lot of white-space to the right for unclear reasons because no sidebar content is present.

@choldgraf choldgraf merged commit ecbb170 into executablebooks:master Sep 5, 2019
@choldgraf choldgraf deleted the toc_hover_change branch September 5, 2019 16:25
@choldgraf choldgraf added the enhancement New feature or request label Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant