Skip to content

Commit

Permalink
Fix cover image overflowing the card
Browse files Browse the repository at this point in the history
  • Loading branch information
SamyPesse committed Mar 27, 2024
1 parent 4be6ead commit c681348
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/DocumentView/Table/RecordCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export async function RecordCard(
},
]}
className={tcls(
'min-w-0',
'w-full',
'h-full',
'object-cover',
Expand All @@ -73,6 +74,7 @@ export async function RecordCard(
) : null}
<div
className={tcls(
'min-w-0',
'w-full',
'flex',
'flex-col',
Expand Down

0 comments on commit c681348

Please sign in to comment.