From 0c62df3a5e4cba54a74cb60606037dc3fd63c91e Mon Sep 17 00:00:00 2001 From: "plebeius.eth" Date: Sun, 14 Apr 2024 21:28:48 +0200 Subject: [PATCH] style(catalog): adjust card size for audios --- src/components/catalog-row/catalog-row.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/catalog-row/catalog-row.tsx b/src/components/catalog-row/catalog-row.tsx index ff6e1975..ca9f92ea 100644 --- a/src/components/catalog-row/catalog-row.tsx +++ b/src/components/catalog-row/catalog-row.tsx @@ -48,12 +48,7 @@ const CatalogPost = ({ post }: { post: Comment }) => { displayHeight = `${maxThumbnailSize}px`; } - if (type === 'audio') { - displayWidth = '150px'; - displayHeight = '75px'; - } - - if (isDescription || isRules) { + if (type === 'audio' || isDescription || isRules) { displayWidth = 'unset'; displayHeight = 'unset'; }