khusika / FeelIt

A clean, elegant but advanced blog theme for Hugo
https://feelit.khusika.dev
MIT License
166 stars 61 forks source link

[BUG] Zooming out (or using bigger windows) bugs out the page margins #84

Closed ivangjxyz closed 2 years ago

ivangjxyz commented 2 years ago

Describe the bug

Simply zoom out or use a highly horizontal screen (I know, I know...) and the wonderful margins that keep text organized and the side-ToC disappear.

Expected behavior

There should be a maximum horizontal size of the text body, so everything is kept sanely readable while keeping the theme's background color, and the table of contents by the body.

Screenshots

Screenshot_20220113_232224

Preview Environment

Additional Information

Happens with the demo website.

khusika commented 2 years ago

Describe the bug

Simply zoom out or use a highly horizontal screen (I know, I know...) and the wonderful margins that keep text organized and the side-ToC disappear.

Hi! thanks for your report. I'm sure that this happens on <50% zoom-out which is not supported by our media-screen (current setting is for 4k display).