We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ef7415 commit c64290eCopy full SHA for c64290e
src/decorate.js
@@ -56,6 +56,8 @@ export function decorateIcon(span, prefix = '', alt = '') {
56
img.src = `${window.hlx.codeBasePath}${prefix}/icons/${iconName}.svg`;
57
img.alt = alt;
58
img.loading = 'lazy';
59
+ img.width = 16;
60
+ img.height = 16;
61
span.append(img);
62
}
63
0 commit comments