dgodd / concourse-summary

MIT License
62 stars 12 forks source link

Sometimes the box isn't 100% filled in #30

Closed idoru closed 6 years ago

idoru commented 6 years ago

Depending on the number of passing/failing jobs for a given pipeline, sometimes their percentage widths don't add up to 100%, leaving part of the box unshaded even when there are no jobs that haven't been execute yet.

Example: buildbox

Corresponding inline styles in DOM: concourse-summary-css

dgodd commented 6 years ago

Thanks @idoru, I have changed the code to use ceiling instead of floor when determining the percentage widths