Skip to content

Commit

Permalink
⚡️ : sideBar 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
keeprok committed Jan 27, 2025
1 parent 6f9aa60 commit a51701c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/features/auth/components/profile-card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function ProfileCard() {
{/* Main Card */}
<div
className={`z-10 h-fit w-[54rem] min-w-[48rem] flex-col gap-4 rounded-2xl border-2 bg-white p-4 shadow-md transition-transform duration-300 ease-in-out ${
isSideCardVisible ? "-translate-x-[12rem]" : "translate-x-0"
isSideCardVisible ? "translate-x-0" : "-translate-x-[12rem]"
}`}
>
<div className="flex justify-between">
Expand Down Expand Up @@ -85,7 +85,7 @@ export function ProfileCard() {

<div
className={`absolute bottom-0 right-0 z-0 h-[15rem] w-[24rem] transform transition-transform duration-300 ease-in-out ${
isSideCardVisible ? "translate-x-0" : "-translate-x-[25vw]"
isSideCardVisible ? "-translate-x-[25vw]" : "translate-x-0"
}`}
>
<div className="h-[14.8rem] w-full min-w-[24rem] rounded-2xl border-r-2 border-t-2 py-7 shadow-md">
Expand Down

0 comments on commit a51701c

Please sign in to comment.