diff --git a/src/components/common/Select/style.ts b/src/components/common/Select/style.ts index a6c96f96..09578a7f 100644 --- a/src/components/common/Select/style.ts +++ b/src/components/common/Select/style.ts @@ -38,7 +38,7 @@ const SelectTrigger = styled.button<{ background-image: url(${arrowDown}); transform: ${({ isOpened }) => (isOpened ? 'rotate(180deg)' : 'none')}; } - @media (max-width: 765.9px) { + @media (max-width: 899px) { padding: 8px 12px; border-radius: 16px; font-size: 13px; diff --git a/src/views/ProjectPage/ProjectPage.tsx b/src/views/ProjectPage/ProjectPage.tsx index 4df249be..907c41fc 100644 --- a/src/views/ProjectPage/ProjectPage.tsx +++ b/src/views/ProjectPage/ProjectPage.tsx @@ -2,6 +2,7 @@ import { css } from '@emotion/react'; import { useState } from 'react'; import PageLayout from '@src/components/common/PageLayout'; import Select from '@src/components/common/Select'; +import { useIsMobile } from '@src/hooks/useDevice'; import { activeProjectCategoryList, activeProjectPlatformList, @@ -19,6 +20,7 @@ function Projects() { const [selectedPlatform, setPlatform] = useState(ProjectPlatformType.ALL); const state = useFetch(selectedCategory, selectedPlatform); + const isMobile = useIsMobile('899px'); return ( - SOPT에서 진행된 프로젝트 둘러보기 + SOPT{!isMobile && '에서 진행된'} 프로젝트 둘러보기