Skip to content

Commit efe9c70

Browse files
committed
Update AutoScreenshot.astro
1 parent 966eede commit efe9c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/components/AutoScreenshot.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const image = fs.readFileSync(new URL(
1111
const dimensions = probe.sync(image);
1212
---
1313

14-
<div style={`aspect-ratio: ${dimensions.width} / ${dimensions.height}; max-height: ${dimensions.height};`} class="rounded-xl mb-6 ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
14+
<div style={`aspect-ratio: ${dimensions.width} / ${dimensions.height}; max-height: ${dimensions.height}px`} class="rounded-xl mb-6 ring-1 ring-gray-950/5 dark:bg-gray-900 dark:ring-white/10">
1515
<img
1616
src={`/docs/${version}/images/light/${name}.jpg`}
1717
alt={alt}

0 commit comments

Comments
 (0)