From ff33d5a83d813133dd5e3d2a2f166d541697ccb4 Mon Sep 17 00:00:00 2001 From: mgaseta Date: Mon, 23 Dec 2024 14:41:17 -0300 Subject: [PATCH] fix: making menu expanded by default and responsiviness --- frontend/src/components/BCHeader/index.tsx | 3 +-- frontend/src/layout/PrivateLayout/styles.scss | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/BCHeader/index.tsx b/frontend/src/components/BCHeader/index.tsx index cc5c18a1c..cb8faab82 100644 --- a/frontend/src/components/BCHeader/index.tsx +++ b/frontend/src/components/BCHeader/index.tsx @@ -82,7 +82,7 @@ const BCHeader = () => { return ( (
{ expanded={isSideNavExpanded} aria-label={componentTexts.sideMenuAriaLabel} className={`spar-side-nav ${!isSideNavExpanded ? 'spar-side-nav-expanded' : ''}`} - onClick={onClickSideNavExpand} >
{ diff --git a/frontend/src/layout/PrivateLayout/styles.scss b/frontend/src/layout/PrivateLayout/styles.scss index b2ae35397..fc71269ce 100644 --- a/frontend/src/layout/PrivateLayout/styles.scss +++ b/frontend/src/layout/PrivateLayout/styles.scss @@ -31,7 +31,8 @@ header.spar-header:not(.spar-header-expanded) + div.main-container { } @media only screen and (max-width: 1055px) { - .main-container { + .main-container, + header.spar-header:not(.spar-header-expanded) + div.main-container { padding-top: 5rem; padding-left: 0; }