Skip to content

Commit d493f81

Browse files
authored
fix: image width in feature component (#488)
All "Spec" images look slightly stretched, compare to https://cssdb.org/#all-property The included SVG has a narrower size, compare to it's content, e.g. the `width` attribute in the SVG source code: https://img.shields.io/badge/Spec-005A9C?logo=w3c&style=flat-square Reduced the width of an image from 55 to 37.
1 parent 25392c3 commit d493f81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/feature.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export function renderFeature(feature) {
7676
alt=""
7777
loading="lazy"
7878
decoding="async"
79-
width="55"
79+
width="37"
8080
height="20"
8181
>
8282
</a>

0 commit comments

Comments
 (0)