Skip to content

Conversation

@mirhamasala
Copy link
Collaborator

@mirhamasala mirhamasala commented Jan 5, 2026

📝 Description

Adds a new BreakoutContainer component that allows content (primarily tables) to break out of the standard Container max-width constraint while maintaining consistent padding with the rest of the layout.

This solves the problem where certain content types (like wide data tables) feel cramped within the 1440px container but still need to maintain visual alignment with other page content.

Design Decision: We considered adding a fullWidth prop to PageSection and Container, but this approach became messy because SectionContent is also involved in these layouts. Since SectionContent can accept multiple children, it would be difficult to selectively apply full-width to specific children while keeping the title/description constrained. The BreakoutContainer wrapper approach is cleaner—it's explicit, flexible, and doesn't complicate our core layout components with conditional logic.

  • Type: New feature

🛠️ Key Changes

  • Added BreakoutContainer component to Container.tsx
  • Uses negative margins to escape Container's max-w-[1440px] constraint
  • Maintains consistent padding (px-6 md:px-15) across all viewports
  • Added documentation comments explaining the relationship between Container and BreakoutContainer
  • Includes guidance on when to use the component (manually, for cramped tables/content)

@vercel
Copy link

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
ffdweb-site Ready Ready Preview, Comment Jan 5, 2026 3:16pm
filecoin-foundation-site Ready Ready Preview, Comment Jan 5, 2026 3:16pm
filecoin-foundation-uxit Ready Ready Preview, Comment Jan 5, 2026 3:16pm
filecoin-site Ready Ready Preview, Comment Jan 5, 2026 3:16pm

@vercel vercel bot temporarily deployed to Preview – ffdweb-site January 5, 2026 15:04 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-uxit January 5, 2026 15:04 Inactive
@vercel vercel bot temporarily deployed to Preview – filecoin-foundation-site January 5, 2026 15:04 Inactive
@notion-workspace
Copy link

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants