Kevin Powell - CommunityKP-C
Kevin Powell - Community3y ago
200 replies
Orz

Page/container width suddenly increases when content appears, but not due to the content size itself

https://orzcode.github.io/tasker/

This is my Notes app - it works fine on desktop but on mobile, as soon as a note appears on the page, the page/container width seems to overflow by a few rem which causes a horizontal scrollbar to appear. However, this does not seem to be due to the size of the note itself - I've tried testing by making the notes only 2rem in width, and it still happens. It also isn't due to padding on the container as far as I can tell.

But when no notes are present on the page, it stays at a fixed 100vw perfectly!
Was this page helpful?