Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Commit

Permalink
Feature add to scale top button on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
govind-gojiya committed Dec 3, 2023
1 parent d121efc commit 71037ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/ScrollToTop.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default function ScrollToTop() {
aria-label='Click here to scroll to top'
className={clsxm(
'h1 fixed right-4 bottom-20 z-50 rounded-full bg-base-100 text-primary transition-all duration-300 lg:bottom-14',
'hover:scale-125',

goToTop
? 'translate-y-0 opacity-100'
Expand Down

0 comments on commit 71037ca

Please sign in to comment.