Skip to content

Commit

Permalink
fix: /recruit 문의하기 모바일 레이아웃 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiacho committed Mar 2, 2024
1 parent a665d2e commit fbfc16f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/views/RecruitPage/components/Contact/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import { contactInDisplayOrder, contactMap } from './constant';

const Contact = () => {
return (
<div>
<Wrapper>
<Wrapper>
<SectionWrapper>
<SectionTitleWrapper>
<SectionTitleTranslate>Inquiry</SectionTitleTranslate>
<SectionTitle>문의하기</SectionTitle>
</SectionTitleWrapper>
<SectionSubTitle>SOPT 지원에 대해 궁금한 것이 더 있나요?</SectionSubTitle>
</Wrapper>
</SectionWrapper>
<GridWrapper>
{contactInDisplayOrder.map((contact) => {
const contactItem = contactMap[contact];
Expand Down Expand Up @@ -48,11 +48,18 @@ const Contact = () => {
);
})}
</GridWrapper>
</div>
</Wrapper>
);
};

const Wrapper = styled.div`
display: flex;
flex-direction: column;
width: 100%;
align-items: center;
`;

const SectionWrapper = styled.div`
display: flex;
flex-direction: column;
gap: 8px;
Expand All @@ -76,7 +83,7 @@ const ItemWrapper = styled.div`
}
/* 모바일 뷰 */
@media (max-width: 765.9px) {
gap: 36px;
gap: 16px;
}
`;

Expand Down

0 comments on commit fbfc16f

Please sign in to comment.