Skip to content

Commit 067725f

Browse files
committed
FIX wrong link style on artist albums
1 parent f564177 commit 067725f

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

app/views/artist/ArtistView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default class ArtistView extends React.Component<IArtistProps, IArtistSta
8282

8383
private renderAlbum(album: AlbumModel) {
8484
return (
85-
<div className="list-item"
85+
<div className="list-item album"
8686
key={album.id}>
8787
<Link to={`/home/albums/${album.id}`}
8888
className="album-link">

app/views/artist/style.scss

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,18 @@
2222
padding: 0;
2323
margin-top: $margin-large;
2424

25-
.album-link {
26-
color: $color;
27-
display: block;
28-
text-decoration: none;
25+
.album {
26+
padding: 0;
2927

30-
&:visited {
31-
color: inherit;
28+
.album-link {
29+
color: $color;
30+
display: block;
31+
padding: $padding-large;
32+
text-decoration: none;
33+
34+
&:visited {
35+
color: $color;
36+
}
3237
}
3338
}
3439
}

0 commit comments

Comments
 (0)