Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(stats): use unicode explicit icon #174

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 7 additions & 4 deletions stats/src/components/track_row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,13 @@ const ArtistLink = ({ name, uri, index, length }: { name: string; uri: string; i
const ExplicitBadge = React.memo(() => {
return (
<>
<span className="TypeElement-ballad-textSubdued-type main-trackList-rowBadges" data-encore-id="type">
<span aria-label="Explicit" className="main-tag-container" title="Explicit">
E
</span>
<span
className="TypeElement-ballad-textSubdued-type main-trackList-rowBadges"
data-encore-id="type"
aria-label="Explicit"
title="Explicit"
>
🅴
</span>
</>
);
Expand Down
3 changes: 3 additions & 0 deletions stats/src/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@
.main-trackList-rowPlayPauseIcon {
fill: currentColor;
}
.main-trackList-rowBadges {
color: var(--spice-text);
}

.extend-button {
background-color: transparent;
Expand Down