Polls don't fit on mobile

Polls on mobile seem to wide causing additional horizontal scrolling

6개의 좋아요

Yes, @zogstrip is aware of this and will switch to top-bottom rendering rather than left-right for polls on mobile.

2개의 좋아요

Just pushed a fix for mobiles :whale2:

https://github.com/discourse/discourse/commit/875a013ec76e7ce0cbb95a61223cbbd16ed31d4a

3개의 좋아요

Could you remove the height style on .poll-container on both desktop and mobile?

As it is now:

With height style removed:

Perhaps add the surrounding box in on mobile to “hold the poll” functionality together?

1개의 좋아요

This topic was automatically closed after 12 hours. New replies are no longer allowed.

You’re right, I forgot to leave the borders on mobile. It’s now fixed :bird:

https://github.com/discourse/discourse/commit/c2ffe255c30c2d86fd871f8a7f29caf2c3cef272

As for the height, it’s there to make sure the height of the poll doesn’t change between the views. I can’t reproduce your issue though.

1개의 좋아요