From e4777569236826dfdb63c4e9dc31262638d4f281 Mon Sep 17 00:00:00 2001 From: subin1215 <91553445+surra7@users.noreply.github.com> Date: Sat, 4 Jan 2025 16:23:21 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=ED=8E=98=EC=9D=B4=EC=A7=80=20=EC=9E=85=EB=A0=A5=EC=B0=BD=20?= =?UTF-8?q?=EC=8A=A4=ED=83=80=EC=9D=BC=20=EC=88=98=EC=A0=95=20(#96)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - box-sizing 설정 - 입력 박스 padding 추가 --- src/components/LoginForm/FormInput.tsx | 1 + src/pages/index/Login.tsx | 2 +- src/styles/GlobalStyle.tsx | 4 ++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/LoginForm/FormInput.tsx b/src/components/LoginForm/FormInput.tsx index a05cdc0..8684065 100644 --- a/src/components/LoginForm/FormInput.tsx +++ b/src/components/LoginForm/FormInput.tsx @@ -24,6 +24,7 @@ const InputWrap = styled.input` height: 4rem; width: 38rem; font-size: 1.9rem; + padding: 0 1rem; `; export default FormInput; diff --git a/src/pages/index/Login.tsx b/src/pages/index/Login.tsx index 05b939e..b1c167c 100644 --- a/src/pages/index/Login.tsx +++ b/src/pages/index/Login.tsx @@ -120,7 +120,7 @@ function Login() { 수집된 개인정보는{' '} 매일 자정에 자동으로 서버에서 삭제됩니다. - 만약 자정 전에 정보를 삭제하고 싶으신 경우, + 만약 자정 전에 정보를 삭제하고 싶으신 경우,{' '} navigate('/delete')}> https://tutorial-sejong.com/delete {' '} diff --git a/src/styles/GlobalStyle.tsx b/src/styles/GlobalStyle.tsx index 1ca4b7e..f2fa310 100644 --- a/src/styles/GlobalStyle.tsx +++ b/src/styles/GlobalStyle.tsx @@ -15,6 +15,10 @@ const GlobalStyle = createGlobalStyle` -moz-appearance: textfield; } + *{ + box-sizing: border-box; + } + html { font-size: 62.5%; }