From b4f37f664a6da3954de8d4feaea20ce1c5504abe Mon Sep 17 00:00:00 2001 From: Hyejun Lee Date: Mon, 27 Nov 2023 17:26:53 +0900 Subject: [PATCH] =?UTF-8?q?[SP2]=20=EB=A9=94=EC=9D=B8=20=EA=B0=80=EC=B9=98?= =?UTF-8?q?=20=EC=84=B9=EC=85=98=20QA=20(#299)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * style: 올라오는 모션 y값 조정 * style: 가치 이미지 최대 너비 지정 --------- Co-authored-by: solar3070 <> --- .../MainPage/components/IntroSection/IntroContent/index.tsx | 2 +- .../MainPage/components/IntroSection/IntroContent/style.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/MainPage/components/IntroSection/IntroContent/index.tsx b/src/views/MainPage/components/IntroSection/IntroContent/index.tsx index 8924fc1e..98111884 100644 --- a/src/views/MainPage/components/IntroSection/IntroContent/index.tsx +++ b/src/views/MainPage/components/IntroSection/IntroContent/index.tsx @@ -16,7 +16,7 @@ export default function IntroContent({ content }: IntroContentProps) { }; const upMotion = { - initial: { y: 10 }, + initial: { y: 20 }, visible: { y: 0, transition: { type: 'spring', damping: 20, stiffness: 120, y: { delay: 0.3, duration: 0.8 } }, diff --git a/src/views/MainPage/components/IntroSection/IntroContent/style.ts b/src/views/MainPage/components/IntroSection/IntroContent/style.ts index 77245a85..81c84b02 100644 --- a/src/views/MainPage/components/IntroSection/IntroContent/style.ts +++ b/src/views/MainPage/components/IntroSection/IntroContent/style.ts @@ -105,7 +105,7 @@ export const Content = styled(motion.div)` 'title image' 'desc image'; grid-template-rows: auto 1fr; - grid-template-columns: 590px minmax(323px, 1fr); + grid-template-columns: 590px minmax(323px, 707px); grid-gap: 24px 57px; position: relative;