« get me outta code hell

content, css: always control offset-tooltip effect from content - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generateContributionList.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2025-11-04 09:30:41 -0400
committer(quasar) nebula <qznebula@protonmail.com>2025-11-04 09:30:41 -0400
commitdfc3fc5290cd73c3232a05c0cc6dd1edb4ed1477 (patch)
tree9e6ba78a72f92179e1f8b4464e1675c02b9aae48 /src/content/dependencies/generateContributionList.js
parentd3b56134bc051f4786c60991da40346227dc65eb (diff)
content, css: always control offset-tooltip effect from content
Diffstat (limited to 'src/content/dependencies/generateContributionList.js')
-rw-r--r--src/content/dependencies/generateContributionList.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/dependencies/generateContributionList.js b/src/content/dependencies/generateContributionList.js
index 3716bcd6..fa9e3d70 100644
--- a/src/content/dependencies/generateContributionList.js
+++ b/src/content/dependencies/generateContributionList.js
@@ -13,6 +13,9 @@ export default {
     html.tag('ul',
       {[html.onlyIfContent]: true},
 
+      relations.contributionLinks.length > 1 &&
+        {class: 'offset-tooltips'},
+
       relations.contributionLinks
         .map(contributionLink =>
           html.tag('li',