From 70f29049a52e9b8ea9e90b86579249c3d3526d33 Mon Sep 17 00:00:00 2001 From: btkcodedev Date: Tue, 12 Aug 2025 00:08:26 +0530 Subject: [PATCH 1/2] fix: extra scroll on right side --- components/LeftPanel/index.tsx | 2 +- components/MainPage/index.tsx | 3 +-- components/RightPanel/index.tsx | 9 ++------- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/components/LeftPanel/index.tsx b/components/LeftPanel/index.tsx index a410bcc..f46f6b1 100644 --- a/components/LeftPanel/index.tsx +++ b/components/LeftPanel/index.tsx @@ -88,7 +88,7 @@ const LeftPanel = ({ clickedCategory, handleInteraction }: LeftPanelProps) => { +
- {/* Footer for Mobile */}
{ {section === LeftPanelOptions.EXPERIENCE && ( <>
- {/* Mobile Screens */}
{
- {/* Desktop Screens */} -
+
@@ -122,7 +120,6 @@ const RightPanel = ({ section }: { section: string }) => { className={`relative flex ${index % 2 === 0 ? "justify-start" : "justify-end" }`} > - {/* Circle Indicator */}
{ boxShadow: `0 0 10px rgba(59, 130, 246, 0.6)`, }} >
- {/* Content Block */}
{
- {/* For info */} {/*
Date: Tue, 12 Aug 2025 00:10:10 +0530 Subject: [PATCH 2/2] set open state as true in mobile screens --- components/LeftPanel/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/LeftPanel/index.tsx b/components/LeftPanel/index.tsx index f46f6b1..45aa2a4 100644 --- a/components/LeftPanel/index.tsx +++ b/components/LeftPanel/index.tsx @@ -10,7 +10,7 @@ import { FiMenu, FiX, FiChevronLeft } from "react-icons/fi"; const LeftPanel = ({ clickedCategory, handleInteraction }: LeftPanelProps) => { const [clicked, setClicked] = useState(LeftPanelOptions.ABOUT); - const [isOpen, setIsOpen] = useState(false); + const [isOpen, setIsOpen] = useState(true); const [dragProgress, setDragProgress] = useState(0); const constraintsRef = useRef(null);