From be665b0ffc0671bf57db551351c4530ebba59b96 Mon Sep 17 00:00:00 2001 From: Tejashri Taral <160386036+Tejashri-Taral@users.noreply.github.com> Date: Thu, 13 Jun 2024 23:39:37 +0530 Subject: [PATCH 1/2] Resolved overlapping issue between chatbot and scroll to top button --- client/src/Components/BackToTopButton.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/Components/BackToTopButton.jsx b/client/src/Components/BackToTopButton.jsx index 19d3a10..ee1e0cb 100644 --- a/client/src/Components/BackToTopButton.jsx +++ b/client/src/Components/BackToTopButton.jsx @@ -1,4 +1,3 @@ -// BackToTopButton.js import React, { useState, useEffect } from "react"; const BackToTopButton = () => { @@ -35,7 +34,7 @@ const BackToTopButton = () => { className={` fixed bottom-7 - right-8 + left-8 // Change 'right-8' to 'left-8' to position on the left side bg-gray-700 text-gray-200 rounded-2xl From 1e33383de6d9963dcc9852c20e2478a2e168b707 Mon Sep 17 00:00:00 2001 From: Tejashri Taral <160386036+Tejashri-Taral@users.noreply.github.com> Date: Fri, 14 Jun 2024 20:35:05 +0530 Subject: [PATCH 2/2] Resolved overlapping between chatbot and scroll to top button --- client/src/Components/BackToTopButton.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/Components/BackToTopButton.jsx b/client/src/Components/BackToTopButton.jsx index ee1e0cb..e73ba35 100644 --- a/client/src/Components/BackToTopButton.jsx +++ b/client/src/Components/BackToTopButton.jsx @@ -33,8 +33,8 @@ const BackToTopButton = () => { onClick={scrollToTop} className={` fixed - bottom-7 - left-8 // Change 'right-8' to 'left-8' to position on the left side + top-7 // Change to top-7 for top positioning + right-8 bg-gray-700 text-gray-200 rounded-2xl