[Bug report] Horizontal bottom scroll bar in Simple Theme #1970
-
Operating systemWindows Publii version0.46.3 Issue typeFree theme Bug descriptionHi Publii devs! On post pages, the Simple Theme displays a bottom, horizontal scroll bar. I've noticed this in Firefox, Vivaldi, and Chromium. Here's an example: https://demo.getpublii.eu/themes/simple/balance-blogging-and-traveling/ Steps to reproduceI noticed that this happens on post pages that have wide and/or full images. It seems like the vw calculations are causing the addition of the horizontal scrollbar: Video: https://i.imgur.com/atMMHcK.mp4 StackOverflow suggests using I also tried editing the margin percentages for .post__image--wide {
margin-left: calc(-50vw + 51%);
margin-right: calc(-50vw + 51%);
padding: 0 var(--page-margin);
text-align: center;
} I've seen a few more complicated suggestions online using JS:
I'm wondering if the Publii team and community have better ideas/suggestions. Relevant log outputNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The easiest solution is to switch to a different operating system. It works really well on macOS! :) On a serious note, thank you for bringing this bug to our attention. Windows generates scrollbars differently, and browsers interpret them in various ways. Download the latest theme version (3.1.1.0), which fixes this issue → https://marketplace.getpublii.com/themes/simple/ |
Beta Was this translation helpful? Give feedback.
The easiest solution is to switch to a different operating system. It works really well on macOS! :)
On a serious note, thank you for bringing this bug to our attention. Windows generates scrollbars differently, and browsers interpret them in various ways.
Download the latest theme version (3.1.1.0), which fixes this issue → https://marketplace.getpublii.com/themes/simple/