Skip to content

Commit

Permalink
design: margin bottom style에 적용
Browse files Browse the repository at this point in the history
오류 없이 확실히 적용되도록 style에 애니메이션 margin 적용
  • Loading branch information
surinkwon committed Jun 11, 2024
1 parent 1f6a46b commit 440a553
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions frontend/src/components/projects/ProjectCreateInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ const ProjectCreateInput = ({
className={`w-[100%] flex flex-col justify-end gap-[4.375rem] h-[${HEIGHT}%]`}
>
<div
className={`transition-all ease-in-out duration-1000 ${
targetStepIsCurrentStep ? `mb-[${MB}%]` : "mb-[-15%]"
}`}
className={`transition-all ease-in-out duration-1000`}
style={{ marginBottom: targetStepIsCurrentStep ? `${MB}%` : "-15%" }}
>
<label
className="text-3xl font-semibold text-dark-gray"
Expand Down

0 comments on commit 440a553

Please sign in to comment.