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;