completionId: cgen-1310ec07149b4d01a4638b6e698d4824

cgen-1310ec07149b4d01a4638b6e698d4824
This commit is contained in:
Builder.io 2025-11-13 07:52:31 +00:00
parent 542acb6309
commit 466ce9ba83

View file

@ -126,7 +126,7 @@ export function FeedItemCard({
</CardHeader>
<CardContent className="space-y-5">
{hasMedia && (
<div className="relative overflow-hidden rounded-2xl border border-border/40 bg-black/70">
<div className="relative w-full overflow-hidden rounded-2xl border border-border/40 bg-black/70 aspect-video max-h-96">
{item.mediaType === "video" ? (
<>
<video
@ -135,7 +135,7 @@ export function FeedItemCard({
loop
playsInline
controls={!muted}
className="h-full w-full object-cover"
className="w-full h-full object-cover"
/>
<Button
size="icon"
@ -154,7 +154,7 @@ export function FeedItemCard({
<img
src={item.mediaUrl ?? undefined}
alt={item.caption || item.authorName}
className="h-full w-full object-cover"
className="w-full h-full object-cover"
/>
)}
</div>