fix indices on album page

+ fix playing on album page
+ fix songItem responsiveness on all virtual scroll pages
This commit is contained in:
geoffrey45
2022-10-08 15:16:34 +03:00
committed by Mungai Njoroge
parent 9cde9d0aa4
commit f0df274b31
9 changed files with 97 additions and 46 deletions
+6 -2
View File
@@ -1,5 +1,8 @@
<template>
<div class="playlist-virtual-scroller v-scroll-page">
<div
class="playlist-virtual-scroller v-scroll-page"
:class="{ isSmall, isMedium }"
>
<RecycleScroller
class="scroller"
:items="scrollerItems"
@@ -22,6 +25,7 @@ import { onBeforeRouteLeave } from "vue-router";
import useQueueStore from "@/stores/queue";
import usePlaylistStore from "@/stores/pages/playlist";
import { isSmall, isMedium } from "@/stores/content-width";
import Header from "@/components/PlaylistView/Header.vue";
import SongItem from "@/components/shared/SongItem.vue";
@@ -81,7 +85,7 @@ onBeforeRouteLeave(() => {
.playlist-virtual-scroller {
height: 100%;
width: 100%;
.scroller {
height: 100%;
width: 100%;