From 69f1da1fece40f6e0f2c80f1e9b40f3496b9cf81 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 10 Dec 2022 18:01:26 +0100 Subject: [PATCH] fix displaying of non-standard covers --- src/lib/components/item.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/components/item.svelte b/src/lib/components/item.svelte index 704abff..3780afe 100644 --- a/src/lib/components/item.svelte +++ b/src/lib/components/item.svelte @@ -117,8 +117,9 @@ .item img { --box-shadow-color: white; border-radius: 5px; - height: 15rem; + max-height: 15rem; width: auto; + max-width: 100%; box-shadow: 0 0 0 var(--box-shadow-color); transition: .4s box-shadow, .3s height, .4s filter; }