diff --git a/frontend/src/pages/ArticleListPage/index.tsx b/frontend/src/pages/ArticleListPage/index.tsx index 7048b2c1d..d45421934 100644 --- a/frontend/src/pages/ArticleListPage/index.tsx +++ b/frontend/src/pages/ArticleListPage/index.tsx @@ -13,6 +13,7 @@ import { css } from '@emotion/react'; import ArticleBookmarkFilter from '../../components/Article/ArticleBookmarkFIlter'; import { useGetFilteredArticleQuery } from '../../hooks/queries/article'; import { UserContext } from '../../contexts/UserProvider'; +import MEDIA_QUERY from '../../constants/mediaQuery'; const CATEGORY_OPTIONS = [ { value: 'all', label: '전체보기' }, @@ -81,7 +82,7 @@ const ArticleListPage = () => { onClick={goNewArticlePage} cssProps={WriteButtonStyle} > - 글쓰기 + 글쓰기 )} @@ -106,6 +107,10 @@ const FilteringWrapper = styled.div` const SelectBoxWrapper = styled.div` width: 150px; + + ${MEDIA_QUERY.sm} { + width: 130px; + } `; export const WriteButtonStyle = css` @@ -121,4 +126,18 @@ export const WriteButtonStyle = css` :hover { background-color: ${COLOR.DARK_BLUE_600}; } + + ${MEDIA_QUERY.sm} { + width: 42px; + + & > img { + margin: 0; + } + } +`; + +const ButtonText = styled.span` + ${MEDIA_QUERY.sm} { + display: none; + } `;