From 39de107c10bb7dbdc738ecf6bd5813fd6389fa4f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 4 Nov 2025 10:10:19 -0400 Subject: content: consider language order for tooltip offset --- src/content/dependencies/generateContributionList.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/content/dependencies/generateContributionList.js') diff --git a/src/content/dependencies/generateContributionList.js b/src/content/dependencies/generateContributionList.js index fa9e3d70..4f68321f 100644 --- a/src/content/dependencies/generateContributionList.js +++ b/src/content/dependencies/generateContributionList.js @@ -9,11 +9,12 @@ export default { chronologyKind: {type: 'string'}, }, - generate: (relations, slots, {html}) => + generate: (relations, slots, {html, language}) => html.tag('ul', {[html.onlyIfContent]: true}, relations.contributionLinks.length > 1 && + language.$order('misc.artistLink.withContribution', 0) === 'ARTIST' && {class: 'offset-tooltips'}, relations.contributionLinks -- cgit 1.3.0-6-gf8a5