From 3a824c9c7ee2b0936e6e6049709e3321b5bc0181 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Tue, 30 Jun 2026 21:24:24 +0200 Subject: [PATCH] feat: refine simulcast card layout with smaller hover title and wider grid --- templates/components/anime_card.gohtml | 3 ++- templates/simulcast.gohtml | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/components/anime_card.gohtml b/templates/components/anime_card.gohtml index 712ccec0..94b3c304 100644 --- a/templates/components/anime_card.gohtml +++ b/templates/components/anime_card.gohtml @@ -5,6 +5,7 @@ {{$hideTitle := .HideTitle}} {{$isWatchlist := .IsWatchlist}} {{$hasTopBadge := .HasTopBadge}} +{{$smallHoverTitle := .SmallHoverTitle}} {{$dataId := printf "id-%d" $anime.MalID}} {{$imageUrl := posterURL $anime.Images.Webp.LargeImageURL $anime.Images.Jpg.LargeImageURL 400 600}} @@ -21,7 +22,7 @@ {{if $withActions}}
{{if not $isWatchlist}} -

+

{{$displayTitle}}

{{end}} diff --git a/templates/simulcast.gohtml b/templates/simulcast.gohtml index 5218ee33..70e1a5d3 100644 --- a/templates/simulcast.gohtml +++ b/templates/simulcast.gohtml @@ -1,6 +1,6 @@ {{define "title"}}Simulcast{{end}} {{define "content"}} -
+

Simulcast Season

@@ -23,7 +23,7 @@ {{if .Animes}}
{{range .Animes}} - {{template "anime_card" dict "Anime" . "WithActions" true "IsWatchlist" (index $.WatchlistMap .MalID)}} + {{template "anime_card" dict "Anime" . "WithActions" true "SmallHoverTitle" true "IsWatchlist" (index $.WatchlistMap .MalID)}} {{end}}
{{else}}