Skip to content

Commit

Permalink
update breakpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
LeahMarieBush committed Sep 4, 2024
1 parent 10b4d82 commit e17e818
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/contexts/mobile-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { useNoScrollBody } from 'hooks/use-no-scroll-body'
/**
* Should correspond to --dev-dot-hide-mobile-menu
*/
const DEFAULT_NAV_HEADER_DESKTOP_WIDTH = 1210
const DEFAULT_NAV_HEADER_DESKTOP_WIDTH = 1230

interface MobileMenuContextState {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--tablet-width-breakpoint: 1000px;

/** Should correspond to --dev-dot-hide-mobile-menu */
--mobile-menu-breakpoint: 1210px;
--mobile-menu-breakpoint: 1230px;

/* Font overwrites */
--font-body: var(--token-typography-font-stack-text);
Expand Down
4 changes: 2 additions & 2 deletions src/styles/custom-media.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
@custom-media --dev-dot-sidecar-up only screen and (min-width: 1280px);

/* Search for "Should correspond to --dev-dot-hide-mobile-menu" when changing */
@custom-media --dev-dot-show-mobile-menu (max-width: 1209px);
@custom-media --dev-dot-hide-mobile-menu (min-width: 1210px);
@custom-media --dev-dot-show-mobile-menu (max-width: 1229px);
@custom-media --dev-dot-hide-mobile-menu (min-width: 1230px);

0 comments on commit e17e818

Please sign in to comment.