mkdocs / mkdocs-bootswatch

MkDocs Bootswatch Themes
http://mkdocs.github.io/mkdocs-bootswatch
BSD 2-Clause "Simplified" License
143 stars 60 forks source link

TOC runs off the page for long documents #2

Closed d0ugal closed 4 years ago

d0ugal commented 9 years ago

Originally reported against MkDocs. https://github.com/mkdocs/mkdocs/issues/204

memeplex commented 8 years ago

My proposed changed in https://github.com/mkdocs/mkdocs-bootswatch/issues/21 automatically fixes this, since they sync bootswatch with the upstream mkdocs theme.

adamlwgriffiths commented 7 years ago

This issue still exists in the PyPi released version. The last version is 0.4.0, released on 2016-03-02, prior to any referenced fixes.

jimporter commented 4 years ago

This should be fixed on master, though I'm not totally sure which commit fixed it. Possibly the update to Bootstrap 4?

janreggie commented 3 years ago

Oddly, I still have the issue. I'm at bootswatch 1.1 but this page's TOC runs off to the bottom, and the lowest items can only be seen if the page is scrolled at the very bottom. I use the Lumen theme but this works for other Bootswatch themes too. Disabling external JavaScript files doesn't seem to help:

theme: 
  name: lumen
  navigation_depth: 3
  hljs_languages:
    - scheme
# ...
markdown_extensions:
  - toc:
      permalink: True
      baselevel: 1
  - pymdownx.arithmatex:
      generic: true
  - markdown_del_ins:
jimporter commented 3 years ago

Oddly, I still have the issue. I'm at bootswatch 1.1 but this page's TOC runs off to the bottom, and the lowest items can only be seen if the page is scrolled at the very bottom.

That's the "fix"; it's obviously not ideal, but it matches the default mkdocs theme (I think). Assuming that's correct, it would probably be best to file an issue on the mkdocs repo first, and then port any necessary changes to this one.