diff --git a/ui/src/lib/components/AudioPlayer.svelte b/ui/src/lib/components/AudioPlayer.svelte index 0060054..f4c471c 100644 --- a/ui/src/lib/components/AudioPlayer.svelte +++ b/ui/src/lib/components/AudioPlayer.svelte @@ -1166,78 +1166,7 @@ {/if} - - {#if showChapterPanel && audioStore.chapters.length > 0} - -
- -
- - Chapters -
- -
-
- - - - -
-
- -
- {#each filteredChapters as ch (ch.number)} - - {/each} - {#if filteredChapters.length === 0} -

No chapters match "{chapterSearch}"

- {/if} -
-
- {/if} + {#if audioStore.isCurrentChapter(slug, chapter)} @@ -1318,3 +1247,79 @@ {/if} {/if} + + +{#if showChapterPanel && audioStore.chapters.length > 0} + +
+ +
+ Chapters + +
+ +
+
+ + + + +
+
+ +
+ {#each filteredChapters as ch (ch.number)} + + {/each} + {#if filteredChapters.length === 0} +

No chapters match "{chapterSearch}"

+ {/if} +
+
+{/if}