From 8e265ccd382c19ff621ee4d071c1eca1d046073b Mon Sep 17 00:00:00 2001 From: sunglitter Date: Wed, 27 Nov 2024 14:50:23 +0900 Subject: [PATCH] =?UTF-8?q?Design:=20=ED=8F=AC=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=9E=91=EC=84=B1=20=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=8A=A4?= =?UTF-8?q?=ED=83=80=EC=9D=BC=20=EC=9D=BC=EB=B6=80=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?(#6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/pages/community/PostCreatePage.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/components/pages/community/PostCreatePage.tsx b/src/components/pages/community/PostCreatePage.tsx index 4323640..d38e546 100644 --- a/src/components/pages/community/PostCreatePage.tsx +++ b/src/components/pages/community/PostCreatePage.tsx @@ -379,9 +379,7 @@ const PostCreatePage = () => { {/* 하단 버튼 섹션 */} - + @@ -677,6 +675,7 @@ const SmallInput = styled.input` width: 100px; padding: 10px 0px; text-align: center; + background-color: #ececec; border: 1px solid #ccc; border-radius: 5px; `; @@ -764,15 +763,15 @@ const ButtonContainer = styled.div` gap: 10px; `; -const Button = styled.button<{ primary?: boolean }>` +const Button = styled.button` padding: 10px 20px; - background: ${({ primary }) => (primary ? '#000' : '#fff')}; - color: ${({ primary }) => (primary ? '#fff' : '#000')}; + background: #000; + color: #fff; border: 1px solid #000; border-radius: 5px; cursor: pointer; &:hover { - background: ${({ primary }) => (primary ? '#333' : '#f4f4f4')}; + background: #333; } `;