« get me outta code hell

css: more depth adjustments - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/image.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-01 21:51:15 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-01 21:51:15 -0400
commit64a4618d244d93fe8d2c62b0a11a941a2ae81bf7 (patch)
tree3a00501bda089f467af3ed7611563ae298df408b /src/content/dependencies/image.js
parentc83e95c885bb72ee6882b5db53a98341830a96fa (diff)
css: more depth adjustments
Diffstat (limited to 'src/content/dependencies/image.js')
-rw-r--r--src/content/dependencies/image.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index 6b937043..f93ce97e 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -130,15 +130,15 @@ export default {
       slots.alt && {alt: slots.alt},
       slots.width && {width: slots.width},
       slots.height && {height: slots.height},
-
-      customLink &&
-        {'data-no-image-preview': true},
     ]);
 
     const linkAttributes = html.attributes([
       (customLink
         ? {href: slots.link}
         : {href: originalSrc}),
+
+      customLink &&
+        {class: 'no-image-preview'},
     ]);
 
     const containerAttributes = html.attributes();