Skip to content

Commit fdfdb21

Browse files
committed
content: image: fix overwriting width
1 parent 505d557 commit fdfdb21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/dependencies/image.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default {
152152
{width: slots.dimensions[0]},
153153

154154
slots.dimensions?.[1] &&
155-
{width: slots.dimensions[1]},
155+
{height: slots.dimensions[1]},
156156
]);
157157

158158
const isPlaceholder =

0 commit comments

Comments
 (0)