lukeorth / poison

Professional Hugo theme for dev bloggers. Based on Mdo's classic Hyde theme.
https://poison.lukeorth.com
GNU General Public License v3.0
226 stars 107 forks source link

Decrease width for activating TOC #52

Closed traveltissues closed 1 year ago

traveltissues commented 1 year ago

Currently I think there's enough room on the right-hand side to allow TOC to be active at a smaller window size (see below)

screenshot 3

KarlAustin commented 1 year ago

I've just tested re-arranging some of the HTML and semantics to allow flexbox:

https://github.com/lukeorth/poison/compare/master...KDAWS-com:poison-toc-semantics:master

image

That's how it looks on my 4k screen by default now - no big gap (there's more space off to the right)

traveltissues commented 1 year ago

I'm happy for this to be closed