« get me outta code hell

content, css: refactor tooltip classes, offset icons-tooltip in lists - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkContribution.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-01-12 13:19:34 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-01-13 20:21:47 -0400
commit42c9000389a114463447c6e0a18b77c408ef5388 (patch)
treede1e0f83d37aacde068c261b62e0ae3e1ecdd7ec /src/content/dependencies/linkContribution.js
parent5c66e7be6dcbfd7ecbb31b29c8c220d2ed5e0182 (diff)
content, css: refactor tooltip classes, offset icons-tooltip in lists
Diffstat (limited to 'src/content/dependencies/linkContribution.js')
-rw-r--r--src/content/dependencies/linkContribution.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/linkContribution.js b/src/content/dependencies/linkContribution.js
index f0f36bc..1b65651 100644
--- a/src/content/dependencies/linkContribution.js
+++ b/src/content/dependencies/linkContribution.js
@@ -64,11 +64,11 @@ export default {
     if (hasExternalIcons && slots.iconMode === 'tooltip') {
       content = [
         content,
-        html.tag('span', {class: ['icons', 'icons-tooltip']},
+        html.tag('span', {class: ['icons', 'tooltip', 'icons-tooltip']},
           {[html.noEdgeWhitespace]: true},
           {inert: true},
 
-          html.tag('span', {class: 'icons-tooltip-content'},
+          html.tag('span', {class: 'tooltip-content'},
             {[html.noEdgeWhitespace]: true},
             {[html.joinChildren]: ''},