diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-07-11 08:42:04 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-07-11 08:42:04 -0300 |
commit | 8f33eb6f7aef3f52101108d1b36f3207d05ec411 (patch) | |
tree | 02be339b88ec849e4b3e80397a81f882227c12cf | |
parent | 2b71dd8f7c6652b53de72f477044569dbcf1aca0 (diff) |
content, css: generateArtistRollingWindowPage: more tweaks
-rw-r--r-- | src/content/dependencies/generateArtistRollingWindowPage.js | 5 | ||||
-rw-r--r-- | src/static/css/site.css | 2 | ||||
-rw-r--r-- | src/strings-default.yaml | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/src/content/dependencies/generateArtistRollingWindowPage.js b/src/content/dependencies/generateArtistRollingWindowPage.js index 8c52dac0..33b1501e 100644 --- a/src/content/dependencies/generateArtistRollingWindowPage.js +++ b/src/content/dependencies/generateArtistRollingWindowPage.js @@ -145,8 +145,9 @@ export default { ? (thing.coverArtworks ?? thing.trackArtworks ?? []) .find(artwork => artwork.artistContribs .some(contrib => contrib.artist === artist)) - : (thing.coverArtworks ?? thing.trackArtworks) - ?.[0] ?? null)); + : (thing.coverArtworks ?? thing.trackArtworks)?.[0] ?? + thing.album?.coverArtworks[0] ?? + null)); const allGroups = unique(query.thingGroups.flat()); diff --git a/src/static/css/site.css b/src/static/css/site.css index de089777..3e144406 100644 --- a/src/static/css/site.css +++ b/src/static/css/site.css @@ -2431,6 +2431,8 @@ html[data-url-key="localized.artistRollingWindow"] #content input[type=number] { } html[data-url-key="localized.artistRollingWindow"] #timeframe-selection-control a { + display: inline-block; + padding: 5px; text-decoration: underline; text-decoration-style: dotted; } diff --git a/src/strings-default.yaml b/src/strings-default.yaml index 16daf0fe..a56956f9 100644 --- a/src/strings-default.yaml +++ b/src/strings-default.yaml @@ -1444,8 +1444,8 @@ artistRollingWindowPage: timeframeSelectionControl: _: "{PREVIOUS} {TIMEFRAMES} {NEXT}" - previous: "(← Previous)" - next: "(Next →)" + previous: "← Previous" + next: "Next →" contributionKind: artwork: "Artwork" |