mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add favorite albums page
This commit is contained in:
committed by
Mungai Njoroge
parent
782bae52e5
commit
9709a62fea
@@ -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>
|
||||
Reference in New Issue
Block a user