From e5eb30bd10728fd730086c41332305593731636c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 29 Dec 2024 19:01:59 -0400 Subject: content, css: commas in additional series nav links If the CSS works, the CSS works. (Groan) --- src/content/dependencies/generateAlbumSecondaryNav.js | 2 ++ src/content/dependencies/generateSecondaryNavParentSiblingsPart.js | 1 + 2 files changed, 3 insertions(+) (limited to 'src/content/dependencies') 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, -- cgit 1.3.0-6-gf8a5