Skip to content

Commit

Permalink
fix: 특정 사이즈에서 Card 컴포넌트가 비정상적으로 출력되는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
SWARVY committed Oct 25, 2024
1 parent 30a7aaa commit 2126f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface CardComponentProps {
export default function Card({ id, post }: CardComponentProps) {
return (
<Link href={`/posts/detail/${id + 1}`}>
<div className="flex-col border border-black bg-white shadow-lg ring-blue-950/60 transition-all hover:ring-2 dark:border-blue-50 dark:bg-background_component dark:ring-blue-100">
<div className="flex size-full flex-col border border-black bg-white shadow-lg ring-blue-950/60 transition-all hover:ring-2 dark:border-blue-50 dark:bg-background_component dark:ring-blue-100">
<ImgWithPlaceholder
src={post.thumbnail}
tailwindClassNames="size-full max-h-[18rem] object-cover border-b border-black"
Expand Down

0 comments on commit 2126f80

Please sign in to comment.