Skip to content

Add a 96rem step to the container mixin - #92

Closed
lucperkins wants to merge 1 commit into
mainfrom
lucperkins/xxlarge-container
Closed

lucperkins wants to merge 1 commit into
mainfrom
lucperkins/xxlarge-container

Conversation

@lucperkins

@lucperkins lucperkins commented Nov 16, 2026 •

Copy link
Copy Markdown
Member
  • Adds an xxlarge: 96rem breakpoint token
  • Adds a matching max-width step to the container mixin, so it lines up with Tailwind's container at the 2xl breakpoint

This widens PageLayout's content and Header on screens 1536px and wider. FlakeHub's navbar uses Tailwind's container, so page content currently stops at 80rem while the navbar keeps growing to 96rem.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added support for an extra-large layout breakpoint. On viewports 96rem wide or more, the page container can expand to the corresponding maximum width, making better use of available screen space. Smaller viewport layouts remain unchanged.

Matches Tailwind's `container`, which grows to 96rem at the 2xl breakpoint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The breakpoint map adds xxlarge at 96rem. The container mixin adds a matching media query that sets max-width to the xxlarge token.

Changes: Container breakpoint

Layer / File(s) Summary
Add xxlarge container width
src/sass/_tokens.scss, src/sass/_mixins.scss
The $breakpoints map adds xxlarge: 96rem. The container mixin sets max-width to the xxlarge token when the viewport reaches that breakpoint.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: Minimal · up to 887e4

This widens the container's max-width to 96rem on screens 1536px and wider, to match Tailwind's container. No merge-blocking risk is evident from the changed code.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Add a 96rem step to the container mixin" matches the main change. The PR adds an xxlarge: 96rem breakpoint token to $breakpoints in _tokens.scss and a matching max-width step in the contain…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Add a 96rem step to the container mixin" matches the main change. The PR adds an xxlarge: 96rem breakpoint token to $breakpoints in _tokens.scss and a matching max-width step in the container mixin in _mixins.scss. The title is specific and concise, and it names the mixin and the new step size.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 03868923-9e51-41f2-938f-91853e9bebe1
Commits

Reviewing files that changed from the base of the PR and between cc0fdb8 and 887e47c.

Files selected for processing: 2

  • src/sass/_mixins.scss
  • src/sass/_tokens.scss

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

@netlify

netlify Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for determinate-ui ready!

Name Link
🔨 Latest commit 887e47c
🔍 Latest deploy log https://app.netlify.com/projects/determinate-ui/deploys/6afb5527ed2c9fc88bbc509e
😎 Deploy Preview https://deploy-preview-92--determinate-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lucperkins

Copy link
Copy Markdown
Member Author

Actually, I'm not sure that we need this

@lucperkins lucperkins closed this Nov 22, 2026
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