On mobile (my iPhone 8 at least), some topics render in such a way that it allows horizontal scrolling. The problem with this is that it makes it hard to swipe to scroll vertically, since it’s so easy to accidentally scroll horizontally.
Topic that allows horizontal scrolling: Move a post but make it unread
Topic that does not allow horizontal scrolling: Gamification From / To Date Range not saving when visible to groups option set
4 Likes
MarcP
(MarcP)
July 8, 2022, 2:16am
2
What theme are you using?
Edit: can reproduce with default theme and Focused theme. However I can’t quickly see what’s causing this.
Edit 2: Actually I did find a (quick?) CSS solution. I don’t know however if this is the desirable outcome.
This is the bad guy:
It seems to be fixable with either setting the width to 99% or setting the padding to 0.
.post-notice {
padding: 0;
}
.post-notice {
width: 99%;
}
2 Likes
I’ve got a fix incoming here:
discourse:main
← discourse:post-notice-fix
opened 12:59PM - 08 Jul 22 UTC
This stops post notices from causing horizontal overflow on mobile
Reported h… ere: https://meta.discourse.org/t/some-topics-allow-horizontal-scrolling-on-mobile/232275?u=jammydodger
3 Likes