mkdocs / mkdocs-bootstrap

MkDocs Bootstrap Theme
http://mkdocs.github.io/mkdocs-bootstrap/
BSD 2-Clause "Simplified" License
84 stars 38 forks source link

TOC runs off the page for long documents #3

Open d0ugal opened 9 years ago

d0ugal commented 9 years ago

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

Mailaender commented 1 year ago

This seems to be a regression, because mkdocs==0.17.3 example: https://docs.openra.net/en/release/traits/ will show scrollbars.

Mailaender commented 1 year ago
.bs-sidebar {
    max-height: 640px; max-width: 240px; overflow: auto;
}

.nav-link {
    overflow-wrap: anywhere;
}

is my extra CSS solution for mkdocs==1.4.1 which adds the scrollbar back in and avoids long class names overflowing: https://docs.openra.net/en/bleed/traits/