alex / nyt-2020-election-scraper

Home Page:https://alex.github.io/nyt-2020-election-scraper/battleground-state-changes.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Text display in breakdown needs to be improved

Enivex opened this issue · comments

Describe the bug
Right now the trailing candidate's text is anchored go the start of their bar, so it disappears if they get a low proportion of the votes.

Expected behavior
Text needs to be right-justified

Screenshots
Screenshot_20201107-160507_Firefox Beta

Smartphone (please complete the following information):

  • Device: Galaxy S10+
  • OS: Android 10
  • Browser Firefox
  • Version Beta

Thanks! We're working on this.

It's not just the trailing candidate apparently. If the current leader gets few votes in a batch, their percentage gets cut off.

Screenshot_20201107-162318_Firefox Beta

Yep, we have a change in motion to address that as well.

For now we've reverted in #334