add favorite albums page

This commit is contained in:
geoffrey45
2022-12-30 10:26:20 +03:00
committed by Mungai Njoroge
parent 782bae52e5
commit 9709a62fea
8 changed files with 53 additions and 34 deletions
+1 -32
View File
@@ -7,9 +7,6 @@
:key="album.albumhash"
/>
</div>
<!-- <div class="no-albums rounded" v-if="artist.toShow.length == 0">
<b>No {{ artist.page }}</b>
</div> -->
</div>
</template>
@@ -30,32 +27,4 @@ onMounted(() => {
onBeforeRouteLeave(() => {
artist.resetAlbums();
});
</script>
<style lang="scss">
.album-grid-view {
height: 100%;
.scrollable {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
grid-gap: $small;
padding: 0 1rem;
padding-bottom: 4rem;
overflow: auto;
max-height: 100%;
}
.no-albums {
border: solid $red 1px;
width: 30rem;
display: block;
margin: 0 auto;
padding: 5rem;
text-align: center;
font-size: 1.25rem;
color: $red;
opacity: .5;
}
}
</style>
</script>