« get me outta code hell

content, css: commas in additional series nav links - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-12-29 19:01:59 -0400
committer(quasar) nebula <qznebula@protonmail.com>2024-12-29 19:01:59 -0400
commite5eb30bd10728fd730086c41332305593731636c (patch)
treea5faa3382f4004915a2617329c15fe66aeb9906e /src/content
parent012e29630fa0bddfd49faf97caf84585109e07ad (diff)
content, css: commas in additional series nav links
If the CSS works, the CSS works. (Groan)
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generateAlbumSecondaryNav.js2
-rw-r--r--src/content/dependencies/generateSecondaryNavParentSiblingsPart.js1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/content/dependencies/generateAlbumSecondaryNav.js b/src/content/dependencies/generateAlbumSecondaryNav.js
index 2585e171..bfa48f03 100644
--- a/src/content/dependencies/generateAlbumSecondaryNav.js
+++ b/src/content/dependencies/generateAlbumSecondaryNav.js
@@ -97,6 +97,8 @@ export default {
           } else {
             return (
               html.tag('span', {class: 'group-with-series'},
+                {[html.joinChildren]: ''},
+
                 [groupPart, ...seriesParts]));
           }
         });
diff --git a/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js b/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js
index c2051db0..f204f1fb 100644
--- a/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js
+++ b/src/content/dependencies/generateSecondaryNavParentSiblingsPart.js
@@ -69,6 +69,7 @@ export default {
   generate: (relations, slots, {html, language}) =>
     html.tag('span',
       {[html.onlyIfContent]: true},
+      {[html.noEdgeWhitespace]: true},
 
       slots.attributes,