mmistakes / minimal-mistakes

:triangular_ruler: Jekyll theme for building a personal site, blog, project documentation, or portfolio.
https://mmistakes.github.io/minimal-mistakes/
MIT License
12.24k stars 25.36k forks source link

Table of contents out of screen when using Splash Layout #1169

Closed auroflow closed 7 years ago

auroflow commented 7 years ago

Hi! First of all: this theme is awesome!

I've just updated to the newest unreleased version and I found the following problem:

When I use the splash layout with the table of contents and maximize the window, the table appears out of screen and I have to scroll right to find it. It looks like this:

screenshot

(using the Quick-Start Guide as an example)

Though I have little understanding of your project, I believe this is relevant to the last few commits.

Is it possible to fix this problem? Thanks!

mmistakes commented 7 years ago

Thanks for this. You're right, it was related to the last couple of commits.

Table of contents don't typically show up on the splash layout so it wasn't something I designed for or noticed. Pushing a fix shortly.

vortexing commented 6 years ago

So, in the end, did you decide to prevent toc's on splash pages? I have the same need (the toc to show up either on the side of the text body OR inline). Basically I don't use a sidebar for this particular website, and so it looks really silly unless I use the splash layout.

mmistakes commented 6 years ago

@vortexing Right side TOCs should work. I fixed this in the commit https://github.com/mmistakes/minimal-mistakes/commit/d59818981bdd8d05d182aa5f482895e833a95398 above back in November.