« get me outta code hell

content: image: fix overwriting width - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-27 16:33:48 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-27 16:36:05 -0300
commit486b488efcc0ea3e0eb483b7147268fb677fe970 (patch)
tree78c905ae75321740eb6012ad7715913d4d56c199 /src/content/dependencies
parent7e56e39bc7425a24e0af1dfa89a63da8ae8328be (diff)
content: image: fix overwriting width
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/image.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index a7096df6..b2735a60 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -150,7 +150,7 @@ export default {
         {width: slots.dimensions[0]},
 
       slots.dimensions?.[1] &&
-        {width: slots.dimensions[1]},
+        {height: slots.dimensions[1]},
     ]);
 
     const isPlaceholder =