Skip to content

Rework full-width layout, add support for full-width page option #3293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 11, 2025

Conversation

zenoachtig
Copy link
Contributor

@zenoachtig zenoachtig commented Jun 10, 2025

  • site-full-width is applied any time the site needs to grow wider to accommodate a bigger block. It's applied for OpenAPI blocks, fullwidth blocks, and for the (soon to be added) fullwidth page option. It basically signals that some UI should no longer be restricted to the container, but go full width instead.
    • Individual blocks can be set to full-width and expand, while other blocks remain bound to the default centred container.
  • page-full-width is applied only when the (soon to be added) fullwidth page option is turned on. It signals that the page's container should be wider.
    • Setting the full-width page option increases the container width from 3xl to screen-2xl.
  • Rework the header and footer to have a consistent max-width, equal to the centred container

Copy link

changeset-bot bot commented Jun 10, 2025

🦋 Changeset detected

Latest commit: 48f9534

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

argos-ci bot commented Jun 10, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v1 (Inspect) ✅ No changes detected - Jun 11, 2025, 11:59 AM
customers-v2 (Inspect) 👍 Changes approved 77 changed Jun 11, 2025, 11:57 AM
default (Inspect) 👍 Changes approved 4 changed Jun 11, 2025, 12:02 PM
v2-cloudflare (Inspect) 👍 Changes approved 4 changed Jun 11, 2025, 12:02 PM
v2-vercel (Inspect) 👍 Changes approved 4 changed Jun 11, 2025, 11:59 AM

Copy link
Contributor

@conico974 conico974 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused here ? Do you want to keep both page-full-width and site-full-width

@conico974 conico974 merged commit 4fb2a4a into main Jun 11, 2025
21 checks passed
@conico974 conico974 deleted the fullwidth-container-width branch June 11, 2025 12:03
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.

2 participants