« get me outta code hell

content: generateAdditionalNamesBoxItem: use chunkwrap in accent - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-26 09:36:36 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-03-26 09:37:12 -0300
commit3fb5231731e038325fb6e094e36afac4a400ddcc (patch)
tree1e0ac5aed0c239f8fa0b2e678d6f6bc9b076c43d /src
parentb4e1d5ad1eb290c615c9ff39f8c3cc82373e36fe (diff)
content: generateAdditionalNamesBoxItem: use chunkwrap in accent
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateAdditionalNamesBoxItem.js4
-rw-r--r--src/static/site6.css1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/content/dependencies/generateAdditionalNamesBoxItem.js b/src/content/dependencies/generateAdditionalNamesBoxItem.js
index 189550c2..7515b5b0 100644
--- a/src/content/dependencies/generateAdditionalNamesBoxItem.js
+++ b/src/content/dependencies/generateAdditionalNamesBoxItem.js
@@ -61,7 +61,9 @@ export default {
       itemParts.push('withAccent');
       itemOptions.accent =
         html.tag('span', {class: 'accent'},
-          language.$(...accentParts, accentOptions));
+          html.metatag('chunkwrap', {split: ','},
+            html.resolve(
+              language.$(...accentParts, accentOptions))));
     }
 
     return language.$(...itemParts, itemOptions);
diff --git a/src/static/site6.css b/src/static/site6.css
index a1e8e1f5..4d6d79a7 100644
--- a/src/static/site6.css
+++ b/src/static/site6.css
@@ -1133,7 +1133,6 @@ h1 a[href="#additional-names-box"]:hover {
 
 #additional-names-box li .accent {
   opacity: 0.8;
-  display: inline-block;
 }
 
 #additional-names-box li .additional-name > img {