feat: short image adaptive size

This commit is contained in:
DIYgod
2023-09-19 14:11:22 +08:00
parent 56805c8a2a
commit 493dff4ddb
4 changed files with 22 additions and 12 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ const Card = ({
uniqueKey={`${post.characterId}-${post.noteId}`}
images={post.metadata?.content.images}
title={post.metadata?.content?.title}
className={isShort ? "rounded-b-2xl aspect-square" : ""}
className={isShort ? "rounded-b-2xl aspect-square border-b-0" : ""}
/>
<div
className={cn(