From 683a3df6f31c4043fdf1484ec6a1c0551693f57d Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 19 Dec 2025 01:36:10 -0800 Subject: [PATCH] truncate long artifact names in card --- src/lib/components/collection/CollectionArtifactCard.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/components/collection/CollectionArtifactCard.svelte b/src/lib/components/collection/CollectionArtifactCard.svelte index e0ef463e..b77e516f 100644 --- a/src/lib/components/collection/CollectionArtifactCard.svelte +++ b/src/lib/components/collection/CollectionArtifactCard.svelte @@ -80,7 +80,6 @@ justify-content: center; position: relative; width: 100%; - aspect-ratio: 1 / 1; border-radius: $item-corner; overflow: hidden; background: var(--card-bg, #f5f5f5); @@ -132,7 +131,7 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; - max-width: 100%; + max-width: 139px; &.nickname { font-weight: $bold;