Skip to content

fix: More efficient CSS breakpoints & adjusted breakpoints to match Material specs#1273

Open
Pecacheu wants to merge 2 commits into
mainfrom
fix/breakpoints
Open

fix: More efficient CSS breakpoints & adjusted breakpoints to match Material specs#1273
Pecacheu wants to merge 2 commits into
mainfrom
fix/breakpoints

Conversation

@Pecacheu

@Pecacheu Pecacheu commented Jun 13, 2026

Copy link
Copy Markdown
Contributor
  • Adjust breakpoints to better align with Material guidelines
  • Move breakpoints to own file to ensure central source-of-truth
  • Trigger tablet breakpoint on phone max-height to catch devices with >840px width in landscape but very narrow height (eg. Galaxy S Ultra, iPhone Pro Max)
  • Import breakpoints as PandaCSS conditions, enabling more efficient code than the reactive vars for pure CSS changes

How was this PR tested?

Tested new PandaCSS breakpoints system to ensure it reacts to display and orientation changes and ensure autocomplete works. In process of adapting #835 to use it where possible.

No UI/UX changes to screenshot, this is behind-the-scenes stuff.

Checklist:

  • I have carefully read the contributing guidelines
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if applicable
  • I have no unrelated changes in the PR
  • I have confirmed that any new dependencies are strictly necessary
  • I have written tests for new code (if applicable)
  • I have followed naming conventions/patterns in the surrounding code

Please declare, if any, LLM usage involved in creating this PR

Only icky squishy organic language models have been used

Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
@Pecacheu Pecacheu requested review from a team as code owners June 13, 2026 17:43
Signed-off-by: Pecacheu <3608878+Pecacheu@users.noreply.github.com>
@Pecacheu Pecacheu mentioned this pull request Jun 13, 2026
10 tasks
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.

1 participant