diff --git a/package-lock.json b/package-lock.json index a626ad72..19d98c5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "19.2.2", + "version": "19.2.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "19.2.2", + "version": "19.2.3", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", diff --git a/package.json b/package.json index 434cf7e2..120c0dd7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "19.2.2", + "version": "19.2.3", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": { diff --git a/src/_data/music.js b/src/_data/music.js index 61e8adce..968cf818 100644 --- a/src/_data/music.js +++ b/src/_data/music.js @@ -145,14 +145,7 @@ export default async function() { const recentData = await fetchDataForPeriod(DateTime.now().minus({ days: 7 }), selectFields, 'listens') - results['recent'] = { - artists: await aggregateData(recentData, 'artist_name', 'artists'), - albums: await aggregateData(recentData, 'album_name', 'albums'), - tracks: await aggregateData(recentData, 'track_name', 'track'), - tracksChronological: (await buildRecents(recentData)).sort((a, b) => b.timestamp - a.timestamp), - genres: await aggregateGenres(recentData), - totalTracks: recentData?.length?.toLocaleString('en-US') - } + results['recent'] = (await buildRecents(recentData)).sort((a, b) => b.timestamp - a.timestamp) return results } \ No newline at end of file diff --git a/src/assets/styles/components/music-chart.css b/src/assets/styles/components/music-chart.css index 65a646e9..bac4de33 100644 --- a/src/assets/styles/components/music-chart.css +++ b/src/assets/styles/components/music-chart.css @@ -116,8 +116,14 @@ width: calc(80% - var(--sizing-lg)); } - & .item .meta-text { - max-width: 85%; + & .item { + & .meta { + width: calc(75% - var(--sizing-lg)); + } + + & .meta-text { + max-width: 85%; + } } &.grid { diff --git a/src/pages/main/music/index.html b/src/pages/main/music/index.html index 749e191d..1521bd2b 100644 --- a/src/pages/main/music/index.html +++ b/src/pages/main/music/index.html @@ -70,7 +70,7 @@ schema: music-index
- {% render "partials/media/music/recent", data:music.recent.tracksChronological %} + {% render "partials/media/music/recent", data:music.recent %}