From ae0cc836f2d9902a6a27e50dcec4b91dcf3e936d Mon Sep 17 00:00:00 2001 From: SoJuSo Date: Wed, 3 Jul 2024 15:46:10 +0900 Subject: [PATCH] =?UTF-8?q?[=F0=9F=90=9Bfix]:=20=ED=8F=AC=EC=8A=A4?= =?UTF-8?q?=ED=8C=85=EC=9D=B4=20=ED=81=B4=EB=A6=AD=EB=90=98=EC=A7=80=20?= =?UTF-8?q?=EC=95=8A=EB=8A=94=20=ED=98=84=EC=83=81=20hotfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PostSimpleCard/PostSimpleCard.styles.ts | 4 +--- .../common/PostSimpleCard/PostSimpleCard.tsx | 20 +++++++++---------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts b/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts index 702a6d54..efe78308 100644 --- a/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts +++ b/src/components/common/PostSimpleCard/PostSimpleCard.styles.ts @@ -141,9 +141,7 @@ export const TextContainer = styled.p<{ $why?: boolean }>` }} `; -export const ProfileContainer = styled(Row)<{ - tabIndex: number; -}>` +export const ProfileContainer = styled(Row)` width: auto; align-items: center; margin: 5px; diff --git a/src/components/common/PostSimpleCard/PostSimpleCard.tsx b/src/components/common/PostSimpleCard/PostSimpleCard.tsx index 5d870381..4f057e17 100644 --- a/src/components/common/PostSimpleCard/PostSimpleCard.tsx +++ b/src/components/common/PostSimpleCard/PostSimpleCard.tsx @@ -265,15 +265,14 @@ const PostSimpleCard = ({ postData }: IProps) => { if (mutation.isSuccess) { return ( <> - handleKeyDown(event)} - $basis="half" - > + {/* todo, 카드 컴포넌트 원주님과 협업 후 공용 컴포넌트로 변경 */} handleKeyDown(event)} src={postData.image ? postData.image : "/image_alt.png"} alt="포스팅 이미지" /> @@ -302,12 +301,11 @@ const PostSimpleCard = ({ postData }: IProps) => { /> - +