Skip to content

Commit

Permalink
Merge pull request #8 from shamimbinnur/overlap
Browse files Browse the repository at this point in the history
Hide "ScrollToTop" button initially to prevent overlap with the "Player Component"
  • Loading branch information
shamimbinnur authored Jun 30, 2024
2 parents 7edd4a1 + c23d640 commit 294ab42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pomo/ScrollToTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const ScrollToTop = () => {
duration-300 ease-in-out z-50
bg-red-600 px-3 py-1 rounded-xl
font-semibold text-white
${isScrolledDown ? "opacity-100" : "opacity-0"}`
${isScrolledDown ? "opacity-100" : "opacity-0 hidden"}`
}
>
<LuAlarmClock size={18} />
Expand Down

0 comments on commit 294ab42

Please sign in to comment.