« get me outta code hell

css: add <p>-like margin around content own-line images - 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>2023-07-31 19:05:53 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-07-31 19:05:53 -0300
commitc9153d51d299176ccbf9b50ebf5633786b7c664b (patch)
treec99a687274d9c17e95f063b572bd57c9288c51a4 /src/content/dependencies
parent8706268f46cef5fb46d10cf7f933a6635feab371 (diff)
css: add <p>-like margin around content own-line images
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/transformContent.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content/dependencies/transformContent.js b/src/content/dependencies/transformContent.js
index ffc51922..eed00882 100644
--- a/src/content/dependencies/transformContent.js
+++ b/src/content/dependencies/transformContent.js
@@ -353,6 +353,7 @@ export default {
               data:
                 image.slots({
                   src,
+                  class: 'content-image',
                   link: link ?? true,
                   width: width ?? null,
                   height: height ?? null,