From 7e4bb87da0260020fc62601644501d59c9420571 Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 1 Mar 2026 22:03:47 +0500 Subject: [PATCH] Fix chapter reader nav bar: use hamburger icon for back-to-book, show chapter date below title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace bare ← back-to-book link with ☰ (hamburger) icon to eliminate the visual double-arrow confusion with the ← Prev chapter button - Export SplitChapterTitle in writer package and call it in handleChapter to split the raw heading into (title, date) — fixes concatenated title+date bug - Display ChapterDate as a smaller muted line below the chapter title in the center nav button - Bump nav bar height from h-12 to h-14 to accommodate two-line center button --- scraper/internal/server/ui.go | 24 +++++++++++++++--------- scraper/internal/writer/writer.go | 6 +++--- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/scraper/internal/server/ui.go b/scraper/internal/server/ui.go index d1fb22f..c9f616a 100644 --- a/scraper/internal/server/ui.go +++ b/scraper/internal/server/ui.go @@ -1379,19 +1379,19 @@ const chapterTmpl = `