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

Window resize issue when heading is too long #43

Open
warm-bagel opened this issue May 6, 2020 · 1 comment
Open

Window resize issue when heading is too long #43

warm-bagel opened this issue May 6, 2020 · 1 comment

Comments

@warm-bagel
Copy link

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
  • Try recreating it and see if it's just me.

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

@dsagal
Copy link
Member

dsagal commented May 8, 2020

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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants