Skip to content

Commit

Permalink
feat: 이미지 사이즈 전반적으로 크게 조정 (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
pa-rang authored Dec 2, 2023
1 parent b7975d6 commit 532757e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/components/feed/detail/DetailFeedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const Content = ({ isQuestion = false, title, content, hits, commentLength, imag
<ImageScrollContainer>
{images.map((image, index) => (
<ImageBox key={index} onClick={() => setOpenSlider(true)}>
<ImageItem src={image} alt='image' height={240} />
<ImageItem src={image} alt='image' height={320} />
</ImageBox>
))}
</ImageScrollContainer>
Expand Down Expand Up @@ -306,7 +306,8 @@ const QuestionBadge = styled.div`
const ImageBox = styled.div`
flex: 0;
border: 1px solid rgb(255 255 255 / 10%);
height: 240px;
border-radius: 12px;
height: 320px;
`;

const ImageItem = styled(ResizedImage)`
Expand Down
2 changes: 1 addition & 1 deletion src/components/feed/list/FeedCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const Image = ({ children }: PropsWithChildren<unknown>) => {

const ImageItem = styled(ResizedImage)`
border-radius: 12px;
height: 160px;
height: 240px;
object-fit: cover;
border: 1px solid rgba(255, 255, 255, 0.1);
`;
Expand Down

0 comments on commit 532757e

Please sign in to comment.