Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/packs-dev/foundation-alt/pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@
"label": {
"$entry": "nextEntry.label"
},
"appearance": "text",
"appearance": "link",
"when": {
"$entry": "nextEntry"
},
Expand Down
4 changes: 2 additions & 2 deletions resources/packs.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"packs": {
"foundation": {
"version": "0.1.0",
"digest": "b66d993ea405609970c93483c91e85504cec95d671315f3c75ff680af70f3ba6"
"digest": "b9534e5cf5cb1b17d7335a96b8ff86f9d7ada1a61e0e3aa9e799362382213c6e"
},
"foundation-alt": {
"version": "0.1.0",
"digest": "50a9b4891582f4c6859f435485be19fa4d77d69725ba86b3233140edbb3f85d4"
"digest": "db9411f3557431317c445b380d23a53289e680592e08a799197e47f1b72addc2"
}
}
}
2 changes: 1 addition & 1 deletion resources/packs/foundation/pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -1441,7 +1441,7 @@
"label": {
"$entry": "nextEntry.label"
},
"appearance": "text",
"appearance": "link",
"when": {
"$entry": "nextEntry"
},
Expand Down
6 changes: 3 additions & 3 deletions tests/unit/collection-templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
});
Expand Down
Loading