Skip to content

Commit

Permalink
feat: add new styling to back to top button
Browse files Browse the repository at this point in the history
  • Loading branch information
moonbamijam committed Feb 22, 2024
1 parent fb8488b commit a62da99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/BackToTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const BackToTop = (props: Props) => {
}, [])
return (
<button aria-label="back-to-top" onClick={() => handleScrollIntoView( `${ props.id }`)} className={`${ backToTop } fixed text-4xl md:text-5xl z-[100] right-8 sm:right-12 sm:bottom-12 bottom-8 lg:right-24 lg:bottom-16 flex flex-col items-center gap-2 animate-bounce`}>
<div className="rounded-full bg-black dark:bg-transparent">
<div className="rounded-full">
<IoIosArrowDropupCircle />
</div>
<h1 className=" text-black dark:text-white text-base hidden lg:block ">Back to Top</h1>
Expand Down

0 comments on commit a62da99

Please sign in to comment.