From 0b59169051089fc879f7f50009cc168ee103d6a9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 14 Aug 2024 02:11:07 +0000 Subject: [PATCH 1/3] Create draft PR for #441 From 7a633a1e2a1255b84f6e6d06788bc8608bd8cb1c Mon Sep 17 00:00:00 2001 From: Jeongwoo Park <121204715+lurgi@users.noreply.github.com> Date: Wed, 14 Aug 2024 14:22:06 +0900 Subject: [PATCH 2/3] =?UTF-8?q?feat:=20DateInput=20=ED=81=B4=EB=A6=AD=20?= =?UTF-8?q?=EC=9D=B4=EB=B2=A4=ED=8A=B8=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/common/DateInput/index.tsx | 3 +-- frontend/src/components/common/DateInput/style.ts | 5 +++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/common/DateInput/index.tsx b/frontend/src/components/common/DateInput/index.tsx index cb2521f32..78970ab55 100644 --- a/frontend/src/components/common/DateInput/index.tsx +++ b/frontend/src/components/common/DateInput/index.tsx @@ -18,7 +18,7 @@ export default function DateInput({ label, innerText, ...props }: DateInputProps }; return ( - + {label} {innerText} @@ -33,7 +33,6 @@ export default function DateInput({ label, innerText, ...props }: DateInputProps outline={false} size="sm" color="white" - onClick={handleIconClick} > diff --git a/frontend/src/components/common/DateInput/style.ts b/frontend/src/components/common/DateInput/style.ts index 105464893..3a762044e 100644 --- a/frontend/src/components/common/DateInput/style.ts +++ b/frontend/src/components/common/DateInput/style.ts @@ -11,6 +11,7 @@ const Container = styled.div` width: 100%; position: relative; + cursor: pointer; `; const Wrapper = styled.div` @@ -31,8 +32,8 @@ const Text = styled.span` const Input = styled.input` ${hiddenStyles} position: absolute; - top: 3rem; - right: 3rem; + top: 3.5rem; + right: 22rem; `; const Icon = styled.div` From 7f464a1054423ae8f692660ab6ee1476c807aacb Mon Sep 17 00:00:00 2001 From: Jeongwoo Park <121204715+lurgi@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:10:57 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20IconButton=EC=9D=98=20=EA=B8=B0?= =?UTF-8?q?=EB=B3=B8=EA=B0=92=20button=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/common/IconButton/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/common/IconButton/index.tsx b/frontend/src/components/common/IconButton/index.tsx index fe40748d9..dee7c9195 100644 --- a/frontend/src/components/common/IconButton/index.tsx +++ b/frontend/src/components/common/IconButton/index.tsx @@ -7,7 +7,7 @@ export default function IconButton({ size = 'sm', outline = true, shape = 'round', - type, + type = 'button', onClick, children, }: PropsWithChildren) {