From 64a4618d244d93fe8d2c62b0a11a941a2ae81bf7 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 1 Jan 2024 21:51:15 -0400 Subject: css: more depth adjustments --- src/content/dependencies/image.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content') 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(); -- cgit 1.3.0-6-gf8a5