Skip to content

Commit

Permalink
Add explicit width / height (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrenaud authored Mar 23, 2023
1 parent b616fa4 commit 4c25dda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/js/ecoindex-badge.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
a.title = "Analyse ecoindex";
img.src = `${baseUrl}/badge/?theme=${theme}&url=${url}`;
img.alt = "Badge ecoindex";
img.width = "108px";
img.height = "32px";
a.appendChild(img);
badge.appendChild(a);
})();
})();

0 comments on commit 4c25dda

Please sign in to comment.