diff --git a/js/components/ScrollToTopButton.js b/js/components/ScrollToTopButton.js index 3e9bf7d..c2277a2 100644 --- a/js/components/ScrollToTopButton.js +++ b/js/components/ScrollToTopButton.js @@ -34,10 +34,13 @@ export function ScrollToTopButton() { zIndex: 999, transition: 'opacity 0.5s ease-in-out', opacity: isVisible ? 0.7 : 0, - pointerEvents: isVisible ? 'auto' : 'none' + pointerEvents: isVisible ? 'auto' : 'none', + display: 'flex', + alignItems: 'center', + justifyContent: 'center' }} > - + ); -} +} \ No newline at end of file