[web-src] Fix styling of genre tracks/albums links

This commit is contained in:
chme 2018-12-08 09:30:45 +01:00
parent df2b422a0c
commit 73d9bf3ff1
2 changed files with 2 additions and 5 deletions

View File

@ -1,11 +1,8 @@
<template>
<div>
<tabs-music></tabs-music>
<content-with-heading>
<template slot="heading-left">
<p class="title is-4">{{ name }}</p>
<p class="heading">{{ genreAlbums.total }} albums | <a class="has-text-link" @click="open_tracks">{{ tracks }} tracks</a></p>
</template>
<template slot="heading-right">
<a class="button is-small is-dark is-rounded" @click="play">
@ -13,6 +10,7 @@
</a>
</template>
<template slot="content">
<p class="heading has-text-centered-mobile">{{ genreAlbums.total }} albums | <a class="has-text-link" @click="open_tracks">{{ tracks }} tracks</a></p>
<list-item-albums v-for="album in genreAlbums.items" :key="album.id" :album="album" :links="links"></list-item-albums>
</template>
</content-with-heading>

View File

@ -3,7 +3,6 @@
<content-with-heading>
<template slot="heading-left">
<p class="title is-4">{{ genre }}</p>
<p class="heading">{{ tracks.total }} tracks</p>
</template>
<template slot="heading-right">
<a class="button is-small is-dark is-rounded" @click="play">
@ -11,7 +10,7 @@
</a>
</template>
<template slot="content">
<p class="heading has-text-centered-mobile"><a class="has-text-link" @click="open_genre">albums</a> | tracks</p>
<p class="heading has-text-centered-mobile"><a class="has-text-link" @click="open_genre">albums</a> | {{ tracks.total }} tracks</p>
<list-item-track v-for="(track, index) in tracks.items" :key="track.id" :track="track" :position="index" :context_uri="tracks.items.map(a => a.uri).join(',')" :links="links"></list-item-track>
</template>
</content-with-heading>