style(catalog): adjust card size for audios

This commit is contained in:
plebeius.eth
2024-04-14 21:28:48 +02:00
parent 34f79bf67d
commit 0c62df3a5e
+1 -6
View File
@@ -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';
}