Skip to content

Commit 014d668

Browse files
committed
fix: YIM Stats colors in image are not visible
1 parent 19979cf commit 014d668

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

frontend/js/src/user/year-in-music/2024/YearInMusic2024.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,6 @@ export default class YearInMusic extends React.Component<
501501
const linkToUserProfile = `https://listenbrainz.org/user/${user.name}`;
502502
const linkToThisPage = `${linkToUserProfile}/year-in-music/2024`;
503503
const imageShareCustomStyles = `.background {\nfill: ${backgroundColor};\n}\n`;
504-
const statsImageCustomStyles = `.background, text {\nfill: ${backgroundColor};\n}\n.outline {\nstroke: ${selectedSeason.text};\n}\n`;
505504
const buddiesImages = [
506505
`/static/img/year-in-music-24/${selectedSeasonName}/buddies/yim24-buddy-01.png`,
507506
`/static/img/year-in-music-24/${selectedSeasonName}/buddies/yim24-buddy-02.png`,
@@ -1205,7 +1204,6 @@ export default class YearInMusic extends React.Component<
12051204
shareUrl={`${linkToThisPage}#stats`}
12061205
shareTitle="My music listening in 2024"
12071206
fileName={`${user.name}-stats-2024`}
1208-
customStyles={statsImageCustomStyles}
12091207
/>
12101208
</div>
12111209
</div>

0 commit comments

Comments
 (0)