Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 583a067

Browse files
committed
Quick maths
1 parent 3b18f44 commit 583a067

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

graphs/helpers/badge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_bundle_badge(bundle_size_bytes: int, precision: int):
7070
</mask>
7171
<g mask="url(#CodecovBadgeMask{width}px)">
7272
<path fill="#555" d="M0 0h47v20H0z" />
73-
<path fill="#2C2433" d="M47 0h{width - static_width + 10}v20H47z" />
73+
<path fill="#2C2433" d="M47 0h{width_in_pixels + 10}v20H47z" />
7474
<path fill="url(#CodecovBadgeGradient)" d="M0 0h{width}v20H0z" />
7575
</g>
7676
<g fill="#fff" text-anchor="left" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">

0 commit comments

Comments
 (0)