mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
a6819a01d6
- click the "general" button in the settings page 3 times -
30 lines
567 B
Vue
30 lines
567 B
Vue
<template>
|
|
<div id="p-view">
|
|
<div class="grid">
|
|
<PlaylistCard
|
|
v-for="p in pStore.playlists"
|
|
:key="p.playlistid"
|
|
:playlist="p"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import PlaylistCard from "@/components/PlaylistsList/PlaylistCard.vue";
|
|
|
|
import usePStore from "@/stores/pages/playlists";
|
|
const pStore = usePStore();
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
#p-view {
|
|
scrollbar-color: $gray2 transparent;
|
|
|
|
.grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
}
|
|
</style>
|