From 0b13917c6200e9d743582bd2aa185f5fef573977 Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Sun, 17 Jan 2021 02:28:20 +0300
Subject: Shows Pointer On Scroll Button

Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
---
 src/components/ScrollToTop.tsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/components/ScrollToTop.tsx')

diff --git a/src/components/ScrollToTop.tsx b/src/components/ScrollToTop.tsx
index 2c5e9ca..231c9e8 100644
--- a/src/components/ScrollToTop.tsx
+++ b/src/components/ScrollToTop.tsx
@@ -59,8 +59,10 @@ class ScrollToTop extends React.Component {
 
         if (window.pageYOffset > 250) {
             last_ref.current.style.opacity = "1";
+            last_ref.current.style.cursor = "pointer";
         } else {
             last_ref.current.style.opacity = "0";
+            last_ref.current.style.cursor = "default";
         }
     }
 
-- 
cgit v1.2.3

