Skip to content

Commit 486b488

Browse files
committed
content: image: fix overwriting width
1 parent 7e56e39 commit 486b488

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
@@ -150,7 +150,7 @@ export default {
150150
{width: slots.dimensions[0]},
151151

152152
slots.dimensions?.[1] &&
153-
{width: slots.dimensions[1]},
153+
{height: slots.dimensions[1]},
154154
]);
155155

156156
const isPlaceholder =

0 commit comments

Comments
 (0)