Skip to content

Commit 8ebfac6

Browse files
committed
safari fix for badge size
1 parent a162ca8 commit 8ebfac6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

assets/js/web-components/prpl-badge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ customElements.define(
3535
src="${ url }"
3636
alt="${ badgeName }"
3737
onerror="this.onerror=null;this.src='${ progressPlannerBadge.placeholderImageUrl }';"
38+
style="max-width: 100%; height: auto%;"
3839
/>
3940
`;
4041
}

0 commit comments

Comments
 (0)