Page sliding #62

Open
opened 2025-01-03 11:17:43 -06:00 by Zankaria · 1 comment
Zankaria commented 2025-01-03 11:17:43 -06:00 (Migrated from gitlab.leftypol.org)

Occasionally, the page loads slided on one side on mobile.
While working on upsteaming the mobile UI, I stumbled into this: https://stackoverflow.com/questions/15086908/how-to-avoid-horizontal-scroll-on-mobile-web-with-responsive-web-design
Could it be caused by the padding added to OP? (the one added to make up for body's 4px padding being removed on mobile)

Occasionally, the page loads slided on one side on mobile. While working on upsteaming the mobile UI, I stumbled into this: https://stackoverflow.com/questions/15086908/how-to-avoid-horizontal-scroll-on-mobile-web-with-responsive-web-design Could it be caused by the padding added to OP? (the one added to make up for body's 4px padding being removed on mobile)
Zankaria commented 2025-01-03 18:00:40 -06:00 (Migrated from gitlab.leftypol.org)

If it's caused by the post form textbox, it can be fixed with:

  max-width: 100%;
  width: 100%;
  box-sizing: border-box;

b06fd367fe

If it's caused by the post form textbox, it can be fixed with: ```css max-width: 100%; width: 100%; box-sizing: border-box; ``` https://github.com/Zankaria/vichan/commit/b06fd367fea7073dbcfe24c631db7a82da43dc43
Sign in to join this conversation.
No labels
Bug
Proposal
Request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: leftypol/leftypol#62
No description provided.