scroll button fix

This commit is contained in:
Owen Rees
2023-06-20 15:37:08 +02:00
parent bcc3c74973
commit b90d7a25de
3 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ const ScrollToTopButton = ({ isLgScreen }: { isLgScreen: boolean }) => {
const scrollToTopButtonClass = isLgScreen
? "absolute bottom-0 right-3 p-10"
: "sticky top-20";
: "fixed top-20 right-3";
return (
<button