From 15a31a5c6436bc30b40e55757bc80d73986f30d6 Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 5 Apr 2026 14:35:03 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20chapter=20menu=20drawer=20=E2=80=94=20co?= =?UTF-8?q?nstrain=20width=20on=20desktop,=20fix=20scroll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On md+ screens the drawer is now right-aligned and 320px wide (w-80) instead of full-viewport-width. The sticky header is pulled out of the scroll container so it never scrolls away, and overflow-y-auto is applied only to the chapter list itself so both mobile and desktop can scroll through long chapter lists. --- ui/src/routes/+layout.svelte | 50 +++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/ui/src/routes/+layout.svelte b/ui/src/routes/+layout.svelte index 2c7fc83..afc6e32 100644 --- a/ui/src/routes/+layout.svelte +++ b/ui/src/routes/+layout.svelte @@ -778,9 +778,10 @@ {#if chapterDrawerOpen && audioStore.chapters.length > 0} -
-