Skip to content

Commit

Permalink
Merge pull request #136 from prgrms-fe-devcourse/dev
Browse files Browse the repository at this point in the history
[๐Ÿ›fix]: ํฌ์ŠคํŒ…์ด ํด๋ฆญ๋˜์ง€ ์•Š๋Š” ํ˜„์ƒ hotfix
  • Loading branch information
SoJuSo authored Jul 3, 2024
2 parents 63eb6bb + cffc6e5 commit c8a7ff0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
20 changes: 9 additions & 11 deletions src/components/common/PostSimpleCard/PostSimpleCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,15 +265,14 @@ const PostSimpleCard = ({ postData }: IProps) => {
if (mutation.isSuccess) {
return (
<>
<CardContainer
tabIndex={0}
aria-label={`${JSON.parse(postData.title).title} ๊ฒŒ์‹œ๋ฌผ ๋ณด๊ธฐ`}
onKeyDown={event => handleKeyDown(event)}
$basis="half"
>
<CardContainer $basis="half">
<CardImageContainer style={{ minHeight: "200px", minWidth: "100%" }}>
{/* todo, ์นด๋“œ ์ปดํฌ๋„ŒํŠธ ์›์ฃผ๋‹˜๊ณผ ํ˜‘์—… ํ›„ ๊ณต์šฉ ์ปดํฌ๋„ŒํŠธ๋กœ ๋ณ€๊ฒฝ */}
<CardImage
tabIndex={0}
aria-label={`${JSON.parse(postData.title).title} ๊ฒŒ์‹œ๋ฌผ ๋ณด๊ธฐ`}
onClick={onClickImage}
onKeyDown={event => handleKeyDown(event)}
src={postData.image ? postData.image : "/image_alt.png"}
alt="ํฌ์ŠคํŒ… ์ด๋ฏธ์ง€"
/>
Expand Down Expand Up @@ -302,12 +301,11 @@ const PostSimpleCard = ({ postData }: IProps) => {
/>
</NewDiv>
</IconContainer>
<ProfileContainer
tabIndex={0}
onClick={onClickProfile}
onKeyDown={onClickProfile}
>
<ProfileContainer>
<span
tabIndex={0}
onClick={onClickProfile}
onKeyDown={onClickProfile}
role="button"
aria-label="ํ”„๋กœํ•„๋กœ ์ด๋™ํ•˜๊ธฐ"
style={{
Expand Down

0 comments on commit c8a7ff0

Please sign in to comment.