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)