diff --git a/src/lib/components/anilistItems.svelte b/src/lib/components/anilistItems.svelte index e342705..122e900 100644 --- a/src/lib/components/anilistItems.svelte +++ b/src/lib/components/anilistItems.svelte @@ -66,7 +66,7 @@ {#each lists as list}

{list.name}

{#each list.entries.sort((a, b) => a.priority - b.priority) as entry (entry.media.id)} -
+
\ No newline at end of file diff --git a/src/lib/components/item.svelte b/src/lib/components/item.svelte index ae0a2e1..c59a8a0 100644 --- a/src/lib/components/item.svelte +++ b/src/lib/components/item.svelte @@ -74,7 +74,7 @@ text-overflow: ellipsis; } .item.grid { - width: 100%; + height: 100%; } h3 { margin: 0; @@ -98,6 +98,7 @@ .flex { display: flex; gap: 1rem; + height: 100%; } .cover-container { position: relative; @@ -147,6 +148,10 @@ --box-shadow-color: white; border-radius: 5px; max-width: 100%; + max-height: 100%; + height: 100%; + width: auto; + object-fit: cover; box-shadow: 0 0 0 var(--box-shadow-color); transition: .4s box-shadow, .3s max-height, .4s filter; }