From 49512a6708fb9188e89fb4cb1aafb4ab602ad2e6 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 9 Jun 2026 18:21:27 +0200 Subject: [PATCH] refactor: replace scrollbar hacks with scrollbar-hidden class --- templates/browse.gohtml | 4 ++-- templates/components/continue_watching.gohtml | 2 +- templates/components/filter_bar.gohtml | 18 +++++++++--------- templates/discover.gohtml | 4 ++-- templates/index.gohtml | 4 ++-- templates/watchlist.gohtml | 4 ++-- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/templates/browse.gohtml b/templates/browse.gohtml index 2ca9d5f..ec90b69 100644 --- a/templates/browse.gohtml +++ b/templates/browse.gohtml @@ -19,8 +19,8 @@

No anime found

Try clearing filters or browsing what’s popular.

- Clear filters - Browse popular + Clear filters + Browse popular
{{else}} diff --git a/templates/components/continue_watching.gohtml b/templates/components/continue_watching.gohtml index cee423d..38b52c2 100644 --- a/templates/components/continue_watching.gohtml +++ b/templates/components/continue_watching.gohtml @@ -3,7 +3,7 @@

Continue Watching

-
+
{{range .}} {{$title := .TitleOriginal}} {{if .TitleEnglish.Valid}}{{$title = .TitleEnglish.String}}{{end}} diff --git a/templates/components/filter_bar.gohtml b/templates/components/filter_bar.gohtml index 8e1a014..0afa8a7 100644 --- a/templates/components/filter_bar.gohtml +++ b/templates/components/filter_bar.gohtml @@ -33,7 +33,7 @@ type="text" value="{{.Query}}" placeholder="Search anime..." - class="rounded-none! w-full bg-background-button px-3 py-2 text-sm text-foreground placeholder-foreground-muted outline-none transition-colors hover:bg-background-button-hover focus:ring-1 focus:ring-accent" + class=" w-full bg-background-button px-3 py-2 text-sm text-foreground placeholder-foreground-muted outline-none transition-colors hover:bg-background-button-hover focus:ring-1 focus:ring-accent" />
@@ -48,14 +48,14 @@
-