# Polls don't fit on mobile

**URL:** https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413
**Category:** Bug
**Created:** [May 7, 2015, 12:59am UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413 "2015-05-07T00:59:14Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [May 7, 2015, 12:59am UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413/1 "2015-05-07T00:59:14Z")

</div>

Polls on mobile seem to wide causing additional horizontal scrolling

https://www.youtube.com/embed/oG8GKaeg_b8?feature=oembed&wmode=opaque

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [May 7, 2015, 1:50am UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413/2 "2015-05-07T01:50:29Z")

</div>

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

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 7, 2015, 5:50pm UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413/3 "2015-05-07T17:50:39Z")

</div>

Just pushed a fix for mobiles 🐳

[https://github.com/discourse/discourse/commit/875a013ec76e7ce0cbb95a61223cbbd16ed31d4a](https://github.com/discourse/discourse/commit/875a013ec76e7ce0cbb95a61223cbbd16ed31d4a)

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [May 7, 2015, 6:17pm UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413/4 "2015-05-07T18:17:07Z")

</div>

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

As it is now:  
 ![](https://global.discourse-cdn.com/meta/original/3X/0/b/0bb61bf0c6af667095bdbcd78f5739acafd75180.png)

With `height` style removed:  
 ![](https://global.discourse-cdn.com/meta/original/3X/7/5/75ffc26673667ba5b9f23d57a65a2839619823f5.png)

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

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 8, 2015, 5:51am UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413/5 "2015-05-08T05:51:10Z")

</div>

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

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [May 8, 2015, 9:16am UTC](https://meta.discourse.org/t/polls-dont-fit-on-mobile/28413/6 "2015-05-08T09:16:05Z")

</div>

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

[https://github.com/discourse/discourse/commit/c2ffe255c30c2d86fd871f8a7f29caf2c3cef272](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.
