• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mysociety / yournextrepresentative / 303
51%

Build:
DEFAULT BRANCH: master
Ran 23 Jan 2015 11:17AM UTC
Jobs 1
Files 50
Run time 21s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
303

push

travis-ci

mhl
Fix the alignment of arrows under the standing / not standing buttons

The first-of-type selectors no longer worked, since another div was
introduced before the two .source-confirmation ones. This commit instead
overrides the left property for .source-confirmation classed divs after
the first one. It's still not great, because variability in the width of
the image on the left will cause the arrows not to be quite in the
middle of the button. @zarino pointed out better way of doing it:

 <zarino> that method of positioning the arrows is so hacky
 <zarino> I could do something much cleaner with hindsight
 <zarino> (make the arrow part of the *button*, not the yellow box, and
 just toggle a class on the button that makes the arrow below it appear
 or disappear – has the advantage that the arrow will always be centred
 below the button)
 <zarino> (wouldn't however work when the row of buttons breaks onto two
 lines, but that's pretty rare)

... but I'm commiting this incremental improvement until there's time to
do that proper fix.

Fixes #156

1279 of 2130 relevant lines covered (60.05%)

0.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 303.1 23 Jan 2015 11:17AM UTC 0
60.05
Travis Job 303.1
Source Files on build 303
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #303
  • acbfb7c5 on github
  • Prev Build on master (#300)
  • Next Build on master (#307)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc