From f720d55f7a5a0f7a353adcb5a060ec731486965e Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Mon, 31 Mar 2025 20:12:23 +0200 Subject: frontend: Align card covers to the top left Now that we've had some time to use hircine, we think that this is a better default. Oftentimes comics have covers that are double-sided, so it makes more sense to align the cover to the left. --- frontend/src/lib/components/Card.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/lib/components/Card.svelte') diff --git a/frontend/src/lib/components/Card.svelte b/frontend/src/lib/components/Card.svelte index 8cfe34d..8a2b047 100644 --- a/frontend/src/lib/components/Card.svelte +++ b/frontend/src/lib/components/Card.svelte @@ -44,7 +44,7 @@ {@render overlay?.()} {#if details.cover} <img - class="h-full w-full object-cover object-[center_top]" + class="h-full w-full object-cover object-[left_top]" width={details.cover.width} height={details.cover.height} src={src(details.cover)} -- cgit v1.2.3-2-gb3c3