updates on the css

This commit is contained in:
2026-07-01 17:48:37 +05:30
parent d6136b3438
commit cc901b4875

View File

@@ -31,10 +31,10 @@ const MainLayout = () => {
const isHorizontal = menuOrientation === MenuOrientation.HORIZONTAL && !downLG; const isHorizontal = menuOrientation === MenuOrientation.HORIZONTAL && !downLG;
// set media wise responsive drawer // sidebar should default to closed regardless of screen size
useEffect(() => { useEffect(() => {
if (!miniDrawer) { if (!miniDrawer) {
dispatch(openDrawer(!matchDownXL)); dispatch(openDrawer(false));
} }
// eslint-disable-next-line react-hooks/exhaustive-deps // eslint-disable-next-line react-hooks/exhaustive-deps
}, [matchDownXL]); }, [matchDownXL]);