Equal-Vote / star-server

STAR Voting is an upgrade to our current way of voting that allows voters to score candidates from 0 to 5. Ultimately, STAR Voting elects candidates who better represent the whole of the electorate. We are building a site that lets everyone from individuals to organizations use STAR Voting to host simple polls or run secure elections.
GNU Affero General Public License v3.0
18 stars 21 forks source link

STAR Results break on mobile #579

Open ArendPeter opened 3 months ago

ArendPeter commented 3 months ago

image

dev.star.vote/tcvc7r/results

mikefranze commented 2 months ago

Results also breaking on web view image

ArendPeter commented 2 months ago

I pushed a change to set overflow: visible in the CSS to ensure the bar graphs aren't cut off.

It's not a full fix, but it should be enough to handle the desktop example. I'll work on the mobile view as well

ArendPeter commented 2 months ago

I did a pass on the padding for all the containers. That helped quite a bit but it probably still needs a more foundational refactor

image

Seems to looks almost good on the harris VP poll

image

ArendPeter commented 2 months ago

Moving milestone

The mobile view still needs work, but these are good enough for now