« get me outta code hell

content: generateChronologyLinksScopeSwitcher: appearance tweaks - 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-04-23 17:32:56 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-30 20:48:18 -0300
commitf5e360738f16e328369e2f280239da069c31443d (patch)
treed6c6d5d009869b5a9cd636caa4b81540659746f4 /src/content/dependencies
parenta84b339c3a7d6b5a9ccbb950ba16240beb04efb9 (diff)
content: generateChronologyLinksScopeSwitcher: appearance tweaks
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateChronologyLinksScopeSwitcher.js27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/content/dependencies/generateChronologyLinksScopeSwitcher.js b/src/content/dependencies/generateChronologyLinksScopeSwitcher.js
index 53ec87a6..29f0c24e 100644
--- a/src/content/dependencies/generateChronologyLinksScopeSwitcher.js
+++ b/src/content/dependencies/generateChronologyLinksScopeSwitcher.js
@@ -25,18 +25,21 @@ export default {
 
       [
         html.tag('summary',
-          language.$('trackPage.nav.chronology.scope.title', {
-            scope:
-              slots.scopes.map((scope, index) =>
-                html.tag('a', {class: 'switcher-link'},
-                  {href: '#'},
-
-                  (index === 0
-                    ? {style: 'display: inline'}
-                    : {style: 'display: none'}),
-
-                  language.$('trackPage.nav.chronology.scope', scope))),
-          })),
+          {class: 'underline-white'},
+
+          html.tag('span',
+            language.$('trackPage.nav.chronology.scope.title', {
+              scope:
+                slots.scopes.map((scope, index) =>
+                  html.tag('a', {class: 'switcher-link'},
+                    {href: '#'},
+
+                    (index === 0
+                      ? {style: 'display: inline'}
+                      : {style: 'display: none'}),
+
+                    language.$('trackPage.nav.chronology.scope', scope))),
+            }))),
 
         stitchArrays({
           scope: slots.scopes,