From 9db674279d3a51614971555f583a13cde6660ef8 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Mon, 24 Jan 2022 13:53:23 +0100 Subject: [PATCH] updated styles for ScrollTopButton --- src/components/ScrollTopButton.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/ScrollTopButton.js b/src/components/ScrollTopButton.js index 1a73fbc..e202fe9 100644 --- a/src/components/ScrollTopButton.js +++ b/src/components/ScrollTopButton.js @@ -23,9 +23,17 @@ export const ScrollTopButton = () => { return ( scrollToTop()} - style={{display: visible ? 'inline' : 'none'}} + style={{ + display: visible ? 'inline' : 'none', + position: 'fixed', + right: '50px', + bottom: '90px', + fontSize: '3rem', + zIndex: 1, + cursor: 'pointer' + }} /> ) } \ No newline at end of file