Skip to content

Commit

Permalink
Revert "chore: Fixed mobile menu overlap with site alert banner (#2318)…
Browse files Browse the repository at this point in the history
…" (#2322)

This reverts commit 7c35e7a.
  • Loading branch information
heatlikeheatwave authored Feb 6, 2024
1 parent 77d38e3 commit e74e0df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
left: -150vw;
overflow-y: auto;
position: fixed;
top: var(--sticky-bars-height);
width: 100%;
z-index: 2;
}
Expand Down
5 changes: 4 additions & 1 deletion src/layouts/base-layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ const BaseLayout = ({
return (
<CommandBarProvider>
{alertBannerData.enabled && (
<AlertBanner {...(alertBannerData.data as AlertBannerProps)} />
<AlertBanner
{...(alertBannerData.data as AlertBannerProps)}
hideOnMobile
/>
)}
<CoreDevDotLayoutWithTheme>
<div className={classNames(s.root, className)} data-layout="base-new">
Expand Down

0 comments on commit e74e0df

Please sign in to comment.