Skip to content

Commit 9cfcf0d

Browse files
committed
💄 style:image 크기 고정
Issue Resolved: #
1 parent c28c968 commit 9cfcf0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

front/src/pages/ProgramsPage/ProgramCard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export default function ProgramCard({
1515
actors,
1616
}: Pick<IProgram, 'actors' | 'id' | 'name' | 'profileUrl'>) {
1717
return (
18-
<div className="flex w-[200px] min-w-[200px] flex-col rounded border-2 p-4 hover:border-surface">
19-
<img className="object-con flex-grow object-cover" width={200} height={300} src={profileUrl} />
18+
<div className="flex min-h-[300px] w-[200px] min-w-[200px] flex-col gap-4 rounded border-2 p-4 hover:border-surface">
19+
<img className="object-con h-[240px] w-[160px] object-cover" src={profileUrl} />
2020
<div className="flex flex-col gap-1 text-center">
2121
<div className="truncate text-display1 text-typo">{name}</div>
22-
<div className="text-caption1">{actors}</div>
22+
<div className="truncate text-caption1">{actors}</div>
2323
</div>
2424
</div>
2525
);

0 commit comments

Comments
 (0)