Skip to content

Commit

Permalink
style: fixed to sticky
Browse files Browse the repository at this point in the history
  • Loading branch information
JinleeJeong committed Feb 16, 2024
1 parent ebf3db3 commit 10ccde8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/app/ticker/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ export default function TickerPage() {
<Content />
</div>
<TickerDrawer />
<div className="fixed inset-x-0 bottom-4 flex w-full justify-center pt-12"
<div
className="sticky inset-x-0 bottom-4 flex w-full justify-center pt-12"
style={{
backgroundImage: "linear-gradient(0deg, var(--color-white) 52.78%, rgba(255, 255, 255, 0.00) 100%)",
}}>
}}
>
<button className="mx-5 w-full rounded-lg bg-main-700 p-4">
<p className="text-h5 text-white">Finish</p>
</button>
</div>
</DrawerPrimitive>
);
};

}

0 comments on commit 10ccde8

Please sign in to comment.