feat: refine simulcast card layout with smaller hover title and wider grid
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{define "title"}}Simulcast{{end}}
|
||||
{{define "content"}}
|
||||
<div class="mx-auto flex w-full max-w-7xl flex-col gap-6 pb-12">
|
||||
<div class="mx-auto flex w-full max-w-[96rem] flex-col gap-6 pb-12">
|
||||
<div class="flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between">
|
||||
<h1 class="text-2xl font-medium text-foreground">Simulcast Season</h1>
|
||||
<ui-dropdown class="relative block" data-align="right" data-width="min-w-44">
|
||||
@@ -23,7 +23,7 @@
|
||||
{{if .Animes}}
|
||||
<div class="grid grid-cols-2 gap-x-4 gap-y-7 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-6">
|
||||
{{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}}
|
||||
</div>
|
||||
{{else}}
|
||||
|
||||
Reference in New Issue
Block a user