mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
fix: broken scroll effect for sidebar playlist section
This commit is contained in:
parent
5b0cfa00b3
commit
6fb7484ccf
5 changed files with 5 additions and 5 deletions
|
@ -23,7 +23,7 @@
|
|||
v-for="playlist in playlistsInFolder"
|
||||
:key="playlist.id"
|
||||
:list="playlist"
|
||||
class="pl-4"
|
||||
class="pl-10"
|
||||
/>
|
||||
</ul>
|
||||
</li>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<SearchForm />
|
||||
</section>
|
||||
|
||||
<section v-koel-overflow-fade class="py-0 px-6 overflow-y-auto space-y-8">
|
||||
<section v-koel-overflow-fade class="py-0 overflow-y-auto space-y-8">
|
||||
<SidebarYourMusicSection />
|
||||
<SidebarPlaylistsSection />
|
||||
<SidebarManageSection v-if="showManageSection" />
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<li
|
||||
:class="current && 'current'"
|
||||
class="relative before:-right-6 before:top-1/4 before:w-[4px] before:h-1/2 before:absolute before:rounded-full
|
||||
class="relative before:right-0 px-6 before:top-1/4 before:w-[4px] before:h-1/2 before:absolute before:rounded-full
|
||||
before:transition-[box-shadow,_background-color] before:ease-in-out before:duration-500"
|
||||
>
|
||||
<a
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<CreatePlaylistContextMenuButton />
|
||||
</SidebarSectionHeader>
|
||||
|
||||
<ul v-koel-overflow-fade class="max-h-[300px] overflow-y-auto">
|
||||
<ul>
|
||||
<PlaylistSidebarItem :list="{ name: 'Favorites', songs: favorites }" />
|
||||
<PlaylistSidebarItem :list="{ name: 'Recently Played', songs: [] }" />
|
||||
<PlaylistFolderSidebarItem v-for="folder in folders" :key="folder.id" :folder="folder" />
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<h3 class="uppercase tracking-widest mb-3">
|
||||
<h3 class="uppercase px-6 tracking-widest mb-3">
|
||||
<slot />
|
||||
</h3>
|
||||
</template>
|
||||
|
|
Loading…
Reference in a new issue