« get me outta code hell

content, css: image: visual redesign for artwork CWs / 'reveal' - 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-01-10 11:53:42 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-11 18:07:59 -0400
commit3b3b16c0a0a2c4a244ed21f12592097324b05bdf (patch)
tree734f417bf7d610de2c6507db119fed375fa24984 /src/content/dependencies
parentd36e344860273bfb2775526aac833f4f1d47b14f (diff)
content, css: image: visual redesign for artwork CWs / 'reveal'
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/image.js14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index ab6bccd0..2876bad3 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -184,10 +184,18 @@ export default {
     let reveal = null;
     if (willReveal) {
       reveal = [
-        language.$('misc.contentWarnings', {
-          warnings: language.formatUnitList(data.contentWarnings),
-        }),
+        html.tag('span', {class: 'reveal-heading'},
+          language.$('misc.contentWarnings.heading')),
+
         html.tag('br'),
+
+        html.tag('span', {class: 'reveal-warnings'},
+          language.$('misc.contentWarnings.warnings', {
+            warnings: language.formatUnitList(data.contentWarnings),
+          })),
+
+        html.tag('br'),
+
         html.tag('span', {class: 'reveal-interaction'},
           language.$('misc.contentWarnings.reveal')),
       ];