From 57211e4e1778f68c1f99bca1e3ae8a61e7b95553 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Wed, 15 Apr 2026 01:04:46 +0200 Subject: [PATCH] fix(ui): remove poster items-end usage --- internal/templates/anime.templ | 2 +- internal/templates/notifications.templ | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/internal/templates/anime.templ b/internal/templates/anime.templ index 9938eb5..9247c81 100644 --- a/internal/templates/anime.templ +++ b/internal/templates/anime.templ @@ -14,7 +14,7 @@ templ AnimeDetails(anime jikan.Anime, currentStatus string) { if anime.ImageURL() != "" { { } else { -
No image
+
No image
}
diff --git a/internal/templates/notifications.templ b/internal/templates/notifications.templ index a65a033..cc69f66 100644 --- a/internal/templates/notifications.templ +++ b/internal/templates/notifications.templ @@ -97,7 +97,6 @@ templ UpcomingSeasonCard(item database.GetUpcomingSeasonsRow) { Title: displaySeasonTitle(item), ImageURL: item.ImageUrl, Class: "notification-card min-w-0 flex flex-col bg-transparent text-inherit no-underline", - ImgClass: "flex aspect-[2/3] max-h-[var(--poster-max-height)] w-full items-end justify-center overflow-hidden", }) {
@@ -125,7 +124,6 @@ templ NotificationCard(item WatchingAnimeWithDetails) { Title: displayTitle(item.Entry), ImageURL: item.Entry.ImageUrl, Class: "notification-card min-w-0 flex flex-col bg-transparent text-inherit no-underline", - ImgClass: "flex aspect-[2/3] max-h-[var(--poster-max-height)] w-full items-end justify-center overflow-hidden", }) {