Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions client/src/Components/BackToTopButton.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// BackToTopButton.js
import React, { useState, useEffect } from "react";

const BackToTopButton = () => {
Expand Down Expand Up @@ -34,8 +33,8 @@ const BackToTopButton = () => {
onClick={scrollToTop}
className={`
fixed
bottom-7
right-8
top-7 // Change to top-7 for top positioning
right-8
bg-gray-700
text-gray-200
rounded-2xl
Expand Down