fairvotereform / RankIt

https://rankit.vote
1 stars 2 forks source link

Bar of winners exceeds allowable length #159

Closed ggordn3r closed 3 years ago

ggordn3r commented 3 years ago

Stephen already fixed this, so something reintroduced this bug. A bar over the threshold any amount should be set to a fixed maximum length (103 if I remember correctly--ask Stephen if it's not obvious in the code).

Currently, the bar extends past the previous maximum so that it obscures the Round Summary. See, for example, the bar for Arizona in this round: https://rankit.skelpo.com/results/eaub53HYQM70lX5J8az7/6

rankIt

proggeramlug commented 3 years ago

Fixed - not quite but close (110 is what I set it to so that is looks good)

ggordn3r commented 3 years ago

Still a bit too long. The bar shouldn't go past the % mark in the threshold label or it causes problems on mobile. Try 103.

proggeramlug commented 3 years ago

Changed it to 103.