Skip to content

Commit

Permalink
design: 지원자 목록 min-height 설정 (SP-694)
Browse files Browse the repository at this point in the history
  • Loading branch information
SungHyun627 committed Aug 30, 2024
1 parent e1661b2 commit a73a1ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Pages/Applicants/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import Footer from '@/Components/Footer';
import { P, match } from 'ts-pattern';
import { useStudyDetail } from '@/Hooks/study/useStudyDetail';
import { Applicant } from '@/Types/study';
import { media } from '@/Styles/theme';

const ApplicantsPage = () => {
const studyId = Number(useParams().studyId);
Expand Down Expand Up @@ -274,13 +275,18 @@ const Applicants = styled.ul`
display: grid;
grid-template-columns: repeat(auto-fit, minmax(248px, 392px));
min-width: 300px;
min-height: 444px;
max-width: 1224px;
gap: 24px;
flex-wrap: wrap;
${({ theme }) => theme.media.mobile} {
gap: 12px;
}
${media.custom(500)} {
min-height: 364px;
}
`;

// <li> 요소를 넣기 위해 추가적으로 만든 레이어
Expand Down

0 comments on commit a73a1ed

Please sign in to comment.