Skip to content

Commit

Permalink
Update BackToTopButton.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
trahulprabhu38 authored Oct 20, 2024
1 parent e54f997 commit 3f35c52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Shared/BackToTopButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const BackToTopButton = () => {
{shouldRender && (
<button
onClick={scrollToTop}
className={`z-50 fixed bottom-12 right-8 bg-green-700 hover:bg-green-600 text-white font-bold px-5 py-3 rounded-md shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110 ${
className={`z-50 fixed bottom-20 right-5 bg-green-700 hover:bg-green-600 text-white font-bold px-5 py-3 rounded-md shadow-lg hover:shadow-xl transition-all duration-300 transform hover:scale-110 ${
isVisible ? 'animate-fadeInBounce' : 'animate-fadeOutBounce'
}`}
style={{ boxShadow: '0 4px 8px rgba(0, 0, 0, 0.2)' }}
Expand Down

0 comments on commit 3f35c52

Please sign in to comment.