From 6b55cf86c40cab959be942caa642d67cc1b45668 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 13 Feb 2025 18:02:13 +0100 Subject: frontend: Remove ellipsis prop in Card This makes Archive card styling consistent with Comic cards. --- frontend/src/lib/components/Card.svelte | 8 +------- frontend/src/routes/archives/+page.svelte | 7 +------ 2 files changed, 2 insertions(+), 13 deletions(-) (limited to 'frontend') diff --git a/frontend/src/lib/components/Card.svelte b/frontend/src/lib/components/Card.svelte index 21181dc..45e1662 100644 --- a/frontend/src/lib/components/Card.svelte +++ b/frontend/src/lib/components/Card.svelte @@ -31,7 +31,6 @@ details: CardDetails; compact?: boolean; coverOnly?: boolean; - ellipsis?: boolean; overlay?: Snippet; children?: Snippet; onclick?: (event: MouseEvent) => void; @@ -42,7 +41,6 @@ details, compact = false, coverOnly = false, - ellipsis = true, overlay, children, onclick @@ -70,11 +68,7 @@ {#if !coverOnly}
-

+

{details.title}

{#if details.subtitle} diff --git a/frontend/src/routes/archives/+page.svelte b/frontend/src/routes/archives/+page.svelte index 3fc4ed4..b75c140 100644 --- a/frontend/src/routes/archives/+page.svelte +++ b/frontend/src/routes/archives/+page.svelte @@ -82,12 +82,7 @@ {#each archives.edges as { id, name, cover, size, pageCount }, index (id)} {#snippet children({ onclick, selected })} - + {#snippet overlay()} {/snippet} -- cgit v1.2.3-2-gb3c3