Skip to content

Commit

Permalink
CSS changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed May 1, 2017
1 parent 930b942 commit a2adb78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/ArtistView.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
}

.artist_view_top_track {
display: flex;
padding: 0px 12px 0px 12px;
margin: 0px;
background-color: #00000000;
Expand All @@ -95,6 +94,7 @@
.artist_view_top_track_name {
width: 100%;
margin: 0px 24px 0px 24px;
padding-left: 12px;
text-align: left;
white-space: nowrap;
overflow: hidden;
Expand Down
9 changes: 9 additions & 0 deletions app/components/ArtistView.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ export default class ArtistView extends Component {
<div className={styles.artist_view_top_tracks_label}>Popular tracks</div>
<div className={styles.artist_view_top_tracks_list}>
<table style={{width: '100%'}}>
<thead>
<tr>
<th><i className="fa fa-picture-o" /></th>
<th style={{paddingLeft: '12px'}}>Track</th>
<th>Playcount</th>
</tr>
</thead>
<tbody>
{
this.props.artistTopTracks.slice(0, 5).map((el, i) => {
return (
Expand All @@ -67,6 +75,7 @@ export default class ArtistView extends Component {
);
})
}
</tbody>
</table>
</div>
</div>
Expand Down

0 comments on commit a2adb78

Please sign in to comment.