diff options
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 |
commit | 64a4618d244d93fe8d2c62b0a11a941a2ae81bf7 (patch) | |
tree | 3a00501bda089f467af3ed7611563ae298df408b /src/content/dependencies | |
parent | c83e95c885bb72ee6882b5db53a98341830a96fa (diff) |
css: more depth adjustments
Diffstat (limited to 'src/content/dependencies')
-rw-r--r-- | src/content/dependencies/image.js | 6 |
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(); |