tomjoht / documentation-theme-jekyll

A Jekyll-based theme designed for documentation and help systems. See the link for detailed instructions on setting up and configuring everything.
http://idratherbewriting.com/documentation-theme-jekyll/
Other
1.17k stars 1.19k forks source link

Toggling nav when nav hidden still resizes content #184

Open aJanuary opened 4 years ago

aJanuary commented 4 years ago

If you hide the navbar on a page using hide_sidebar: true in the frontmatter, then click the toggle nav button to "hide" the sidebar, the content gets narrower.

I would expect either the toggle to do nothing, or for the toggle button to be disabled if the sidebar is hidden. Either way, I would not expect the width of the content to change.