Skip to content

Commit

Permalink
fix: Sticky auth controls on sidebar-sidecar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
EnMod committed Sep 12, 2024
1 parent d05267b commit 50a82a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/layouts/sidebar-sidecar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,12 @@ const SidebarSidecarLayoutContent = ({
return (
<div className={classNames(s.root, s[`mainWidth-${mainWidth}`])}>
<MobileMenuContainer className={s.sidebarContainer} ref={sidebarRef}>
<MobileAuthenticationControls
className={s.mobileAuthControlsContainer}
/>
<div className={s.sidebarContentWrapper}>{sidebarContent}</div>
<div className={s.sidebarContentWrapper}>
<MobileAuthenticationControls
className={s.mobileAuthControlsContainer}
/>
{sidebarContent}
</div>
</MobileMenuContainer>
<div className={s.contentWrapper} ref={contentRef}>
{alertBannerSlot}
Expand Down
2 changes: 0 additions & 2 deletions src/layouts/sidebar-sidecar/sidebar-sidecar-layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ for further details.
}

.mobileAuthControlsContainer {
padding-left: 16px;
padding-right: 16px;
padding-top: 24px;
}

Expand Down

0 comments on commit 50a82a5

Please sign in to comment.