gristlabs / mkdocs-windmill

Outstanding mkdocs theme with a focus on navigation and usability
Other
106 stars 62 forks source link

Window resize issue when heading is too long #43

Open warm-bagel opened 4 years ago

warm-bagel commented 4 years ago

Another minor issue I noticed is that when I type a heading that is too long (they are nested within other headings btw) the window resize makes the navigation window on the left larger and spill out onto the notes section of the pages.

Example: in a .md file, I use a very long heading:

## Very extremely super duper longish but pretty long heading

I'm using Chrome on a fairly new Macbook Pro 13"

dsagal commented 4 years ago

Yeah, this seems a problem. I recommend using extra_css (described at https://www.mkdocs.org/user-guide/configuration/#extra_css) and add there:

.wm-toc-pane {
  max-width: 250px;
}