From 08607fafe7067ae0fa2e9a77e0c31021c4388394 Mon Sep 17 00:00:00 2001 From: AlexBocken Date: Tue, 11 Jul 2023 19:14:39 +0200 Subject: [PATCH] fix placeholder thumbnail misalignment --- src/lib/components/Card.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/Card.svelte b/src/lib/components/Card.svelte index 76e7ae1..b8d5f0d 100644 --- a/src/lib/components/Card.svelte +++ b/src/lib/components/Card.svelte @@ -52,7 +52,7 @@ div:has(#image){ border-top-right-radius: inherit; } div:has(div #image){ - height: 100%; + height: calc(var(--card-width)*0.85); position: absolute; width: var(--card-width); top: 0;