fix mobile

This commit is contained in:
Bnyro 2022-07-22 20:54:52 +02:00
parent ded13b14c9
commit 6f0897a263

View File

@ -29,7 +29,7 @@
<div v-else class="flex overflow-x-auto"> <div v-else class="flex overflow-x-auto">
<div <div
:key="chapter.start" :key="chapter.start"
v-for="chapter in chapters" v-for="(chapter, index) in chapters"
@click="$emit('seek', chapter.start)" @click="$emit('seek', chapter.start)"
:class="isCurrentChapter(chapters, index, playerPosition) ? 'chapter bg-red-500/50' : 'chapter'" :class="isCurrentChapter(chapters, index, playerPosition) ? 'chapter bg-red-500/50' : 'chapter'"
> >