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 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(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 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}
 		<article class="flex h-full flex-col gap-2 p-2">
 			<header>
-				<h2
-					class:ellipsis-nowrap={ellipsis}
-					class="self-center text-sm font-medium [grid-area:title]"
-					title={details.title}
-				>
+				<h2 class="self-center text-sm font-medium [grid-area:title]" title={details.title}>
 					{details.title}
 				</h2>
 				{#if details.subtitle}
-- 
cgit v1.2.3-2-gb3c3

