Renamed playlist icon class

This commit is contained in:
Eliot Berriot 2018-03-20 23:40:11 +01:00
parent 32dc18ed6e
commit 053fc1171b
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
2 changed files with 6 additions and 4 deletions

View File

@ -60,9 +60,11 @@ export default {
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
<style lang="scss" scoped>
tr:not(:hover) .favorite-icon:not(.favorited) {
display: none;
tr:not(:hover) {
.favorite-icon:not(.favorited), .playlist-icon {
display: none;
}
}
</style>

View File

@ -9,7 +9,7 @@
<i
v-else
@click="$store.commit('playlists/chooseTrack', track)"
:class="['favorite-icon', 'list', 'link', 'icon']"
:class="['playlist-icon', 'list', 'link', 'icon']"
title="Add to playlist...">
</i>
</template>