From 6b1d574698a195a673222060652177140825506b Mon Sep 17 00:00:00 2001 From: gorkem-bwl Date: Sat, 17 Jan 2026 13:04:30 -0500 Subject: [PATCH] fix: prevent user guide sidebar from overlaying main content --- .../src/Components/v1/Layouts/HomeLayout/index.jsx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/client/src/Components/v1/Layouts/HomeLayout/index.jsx b/client/src/Components/v1/Layouts/HomeLayout/index.jsx index cb28ddc83..7265af648 100644 --- a/client/src/Components/v1/Layouts/HomeLayout/index.jsx +++ b/client/src/Components/v1/Layouts/HomeLayout/index.jsx @@ -1,11 +1,13 @@ import Sidebar from "../../Sidebar/index.jsx"; import { Outlet } from "react-router"; import { Stack } from "@mui/material"; -import { UserGuideSidebar } from "../../UserGuide"; +import { UserGuideSidebar, useUserGuideSidebarContext } from "../../UserGuide"; import "./index.css"; const HomeLayout = () => { + const { requiredPaddingRight } = useUserGuideSidebarContext(); + return ( { gap={14} > - +