Skip to content

Commit

Permalink
tweak responsive switch width to breakpoint-md so the sidebar layout …
Browse files Browse the repository at this point in the history
…is present for narrower screens
  • Loading branch information
Southclaws committed Dec 31, 2023
1 parent 9e7d24c commit 213a10a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions web/src/components/site/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ export function Navigation({ children }: PropsWithChildren) {
{/* MOBILE */}
<Box
id="mobile-nav-container"
// TODO: Remove this and figure out where the overflow is actually coming from
overflow="auto"
width="full"
display={{
base: isNavpillShown(pathname) ? "none" : "unset",
lg: "none",
md: "none",
}}
>
<Box p="3">
Expand All @@ -46,7 +45,7 @@ export function Navigation({ children }: PropsWithChildren) {
id="desktop-nav-container"
display={{
base: "none",
lg: "block",
md: "block",
}}
w="full"
>
Expand Down

2 comments on commit 213a10a

@vercel
Copy link

@vercel vercel bot commented on 213a10a Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 213a10a Dec 31, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.