Add width and height attributes to SVG images for better layout control

This commit is contained in:
pheralb
2025-09-17 10:00:07 +01:00
parent 25ce756481
commit 9b9124b220
+8
View File
@@ -77,6 +77,8 @@
alt={svgInfo.title}
title={svgInfo.title}
loading="lazy"
width="140"
height="40"
/>
<img
class={cn("block dark:hidden", globalImageStyles)}
@@ -84,6 +86,8 @@
alt={svgInfo.title}
title={svgInfo.title}
loading="lazy"
width="140"
height="40"
/>
{:else}
<img
@@ -92,6 +96,8 @@
alt={svgInfo.title}
title={svgInfo.title}
loading="lazy"
width="140"
height="40"
/>
<img
class={cn("block dark:hidden", globalImageStyles)}
@@ -99,6 +105,8 @@
alt={svgInfo.title}
title={svgInfo.title}
loading="lazy"
width="140"
height="40"
/>
{/if}
<!-- Title -->