added count to tag card list, increased card title size

This commit is contained in:
aj 2020-02-05 15:40:02 +00:00
parent 29bd875ecd
commit 4963fda6b0
2 changed files with 7 additions and 2 deletions

View File

@ -138,7 +138,7 @@ function PlaylistCard(props){
<Grid item xs> <Grid item xs>
<Card> <Card>
<CardContent> <CardContent>
<Typography variant="h5" component="h2"> <Typography variant="h4" component="h2">
{ props.playlist.name } { props.playlist.name }
</Typography> </Typography>
</CardContent> </CardContent>

View File

@ -95,9 +95,14 @@ function TagCard(props){
<Grid item xs> <Grid item xs>
<Card> <Card>
<CardContent> <CardContent>
<Typography variant="h5" component="h2"> <Typography variant="h4" component="h2">
{ props.tag.name } { props.tag.name }
</Typography> </Typography>
{'count' in props.tag &&
<Typography variant="h6" style={{color: "#b3b3b3"}}>
{ props.tag.count }
</Typography>
}
</CardContent> </CardContent>
<CardActions> <CardActions>
<ButtonGroup <ButtonGroup