fix(ui): remove poster items-end usage
This commit is contained in:
@@ -14,7 +14,7 @@ templ AnimeDetails(anime jikan.Anime, currentStatus string) {
|
||||
if anime.ImageURL() != "" {
|
||||
<img class="w-full" src={ anime.ImageURL() } alt={ anime.DisplayTitle() }/>
|
||||
} else {
|
||||
<div class="flex aspect-[2/3] max-h-[var(--poster-max-height)] w-full items-end justify-center overflow-hidden text-[0] text-transparent">No image</div>
|
||||
<div class="flex aspect-[2/3] max-h-[var(--poster-max-height)] w-full justify-center overflow-hidden text-[0] text-transparent">No image</div>
|
||||
}
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@@ -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",
|
||||
}) {
|
||||
<div class="mt-2 grid gap-1 p-0" data-notification-content>
|
||||
<div class="line-clamp-2 text-[0.86rem] leading-[1.3] text-[var(--text)]">
|
||||
@@ -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",
|
||||
}) {
|
||||
<div class="mt-2 grid gap-1 p-0" data-notification-content>
|
||||
<div class="line-clamp-2 text-[0.86rem] leading-[1.3] text-[var(--text)]">
|
||||
|
||||
Reference in New Issue
Block a user