Skip to content

fix(courses): ensure clean FilterSidebar vs FilterDrawer breakpoint handoff (#195) - #321

Closed
jeffrey-graham wants to merge 1 commit into
SorobanLard:mainfrom
jeffrey-graham:fix/issue-195-filter-sidebar-breakpoint
Closed

jeffrey-graham wants to merge 1 commit into
SorobanLard:mainfrom
jeffrey-graham:fix/issue-195-filter-sidebar-breakpoint

Conversation

@jeffrey-graham

Copy link
Copy Markdown

Summary

  • Constrains mobile filter drawer width (max-w-[calc(100vw-3rem)]) on narrow screens and automatically closes the mobile drawer when resizing across the lg (1024px) desktop breakpoint in src/components/courses/FilterSidebar.tsx.
  • Adds responsive unit tests in src/components/courses/__tests__/FilterSidebar.responsive.test.tsx.

Closes #195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Responsive: FilterSidebar vs FilterDrawer breakpoint handoff

1 participant