Allow ExternalLink icons to be styled (#1503)
* Allow ArtistExternalLink icons to be styled * Allow AlbumExternalLink icons to be styled * Standardize external links' classes to kebab-case Co-authored-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -33,14 +33,14 @@ const AlbumExternalLinks = (props) => {
|
||||
encodeURIComponent(record.name)
|
||||
}`,
|
||||
'message.openIn.lastfm',
|
||||
<ImLastfm2 />
|
||||
<ImLastfm2 className="lastfm-icon" />
|
||||
)
|
||||
|
||||
record.mbzAlbumId &&
|
||||
addLink(
|
||||
`https://musicbrainz.org/release/${record.mbzAlbumId}`,
|
||||
'message.openIn.musicbrainz',
|
||||
<MusicBrainz />
|
||||
<MusicBrainz className="musicbrainz-icon" />
|
||||
)
|
||||
|
||||
return <div className={className}>{intersperse(links, ' ')}</div>
|
||||
|
||||
Reference in New Issue
Block a user