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

trotzig / diffux / 106
99%

Build:
DEFAULT BRANCH: master
Ran 07 Feb 2014 01:29AM UTC
Jobs 2
Files 19
Run time –
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
106

push

travis-ci

lencioni
Even out before/after image widths

As you scrolled down the page, the snapshot image with the padding was
slightly vertically offset from the one without the padding, even if the
images were virtually identical. This was happening because their widths
were different by 1px, so the browser was scaling the slightly narrower
snapshot a little differently than the slightly wider one.

To fix this, I added padding to each of the elements. To allow things to
be aligned properly on both the left and right sides, I put the padding
in the middle. This doubles the gap, but since it is only 2px now,
things should be just fine.

Change-Id: I2b0575e00

293 of 298 relevant lines covered (98.32%)

34.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 106.1 (2.0.0) 07 Feb 2014 01:29AM UTC 0
98.32
Travis Job 106.1
2 106.2 (2.1.0) 07 Feb 2014 01:29AM UTC 0
98.32
Travis Job 106.2
Source Files on build 106
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #106
  • bcf566cc on github
  • Prev Build on master (#105)
  • Next Build on master (#107)
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