Skip to content

Commit 4c25dda

Browse files
authored
Add explicit width / height (#15)
1 parent b616fa4 commit 4c25dda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/js/ecoindex-badge.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
a.title = "Analyse ecoindex";
1212
img.src = `${baseUrl}/badge/?theme=${theme}&url=${url}`;
1313
img.alt = "Badge ecoindex";
14+
img.width = "108px";
15+
img.height = "32px";
1416
a.appendChild(img);
1517
badge.appendChild(a);
16-
})();
18+
})();

0 commit comments

Comments
 (0)