diff --git a/resources/packs-dev/foundation-alt/pack.json b/resources/packs-dev/foundation-alt/pack.json index b5e7e2cf6..d9cf804a4 100644 --- a/resources/packs-dev/foundation-alt/pack.json +++ b/resources/packs-dev/foundation-alt/pack.json @@ -1441,7 +1441,7 @@ "label": { "$entry": "nextEntry.label" }, - "appearance": "text", + "appearance": "link", "when": { "$entry": "nextEntry" }, diff --git a/resources/packs.lock.json b/resources/packs.lock.json index e02115a93..3ca3adec2 100644 --- a/resources/packs.lock.json +++ b/resources/packs.lock.json @@ -3,11 +3,11 @@ "packs": { "foundation": { "version": "0.1.0", - "digest": "b66d993ea405609970c93483c91e85504cec95d671315f3c75ff680af70f3ba6" + "digest": "b9534e5cf5cb1b17d7335a96b8ff86f9d7ada1a61e0e3aa9e799362382213c6e" }, "foundation-alt": { "version": "0.1.0", - "digest": "50a9b4891582f4c6859f435485be19fa4d77d69725ba86b3233140edbb3f85d4" + "digest": "db9411f3557431317c445b380d23a53289e680592e08a799197e47f1b72addc2" } } } diff --git a/resources/packs/foundation/pack.json b/resources/packs/foundation/pack.json index 0c45f7f1c..3f58d97d8 100644 --- a/resources/packs/foundation/pack.json +++ b/resources/packs/foundation/pack.json @@ -1441,7 +1441,7 @@ "label": { "$entry": "nextEntry.label" }, - "appearance": "text", + "appearance": "link", "when": { "$entry": "nextEntry" }, diff --git a/tests/unit/collection-templates.test.ts b/tests/unit/collection-templates.test.ts index 43e3aa2ce..326e7b426 100644 --- a/tests/unit/collection-templates.test.ts +++ b/tests/unit/collection-templates.test.ts @@ -213,9 +213,9 @@ describe('entry fields', () => { expect(entryFieldValue({ state: s, collection: c, entry: c.entries.en_spring, neighbours: {} }, 'entryNavLabel')).toBe(''); }); - // Release gap: the release's article template gives Previous the link appearance and Next the text one, whose base CSS - // draws an arrow (.so-btn--text::after), so only Next has an arrow. - it.fails.each(['foundation', 'foundation-alt'])('makes the links to the posts beside one two links of one kind, with no theme arrow on one side only (%s)', (theme) => { + // Both take the link appearance: the text appearance's base CSS draws an arrow (.so-btn--text::after), which left Next + // alone with one and set it apart in weight and decoration. + it.each(['foundation', 'foundation-alt'])('makes the links to the posts beside one two links of one kind, with no theme arrow on one side only (%s)', (theme) => { const { prev, next } = between(theme); expect([prev.appearance, next.appearance]).toEqual(['link', 'link']); });