Skip to content

Grid: Center justify text content #218

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 1 commit into from
Apr 15, 2025
Merged

Conversation

nginx-jack
Copy link
Collaborator

@nginx-jack nginx-jack commented Apr 14, 2025

Center justify text content. This matches responsive behaviour similar to stripe docs.

Screen.Recording.2025-04-15.at.11.38.39.mov

@nginx-jack nginx-jack requested a review from a team as a code owner April 14, 2025 09:43
Copy link

Playwright visual snapshot differences were detected.

View the Playwright report
To approve the snapshot changes and update the snapshots, please comment: /approve-snapshots

@nginx-jack
Copy link
Collaborator Author

/approve-snapshots

Copy link

Updating snapshots. Click here to see the status.

Copy link

Please download the artifacts here and commit your updated screenshots.

@nginx-jack nginx-jack force-pushed the centre-justify-content-grid branch from f362d0b to 4af59e8 Compare April 14, 2025 13:03
@danielledeleo
Copy link
Contributor

This messes up the breadcrumb alignment. I think it'll look better if the crumbs follow the content.

@nginx-jack nginx-jack force-pushed the centre-justify-content-grid branch from 4af59e8 to 5a2954a Compare April 15, 2025 10:37
Copy link

Playwright visual snapshot differences were detected.

View the Playwright report
To approve the snapshot changes and update the snapshots, please comment: /approve-snapshots

Copy link
Collaborator

@lamATnginx lamATnginx left a comment

Choose a reason for hiding this comment

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

LGTM locally

@nginx-jack nginx-jack force-pushed the centre-justify-content-grid branch 2 times, most recently from a21d084 to 7925672 Compare April 15, 2025 15:33
Copy link

Playwright visual snapshot differences were detected.

View the Playwright report
To approve the snapshot changes and update the snapshots, please comment: /approve-snapshots

@nginx-jack nginx-jack force-pushed the centre-justify-content-grid branch from 7925672 to 3af99ff Compare April 15, 2025 16:48
Copy link

Playwright visual snapshot differences were detected.

View the Playwright report
To approve the snapshot changes and update the snapshots, please comment: /approve-snapshots

Move breadcrumb into same element as text content to allow it to follow
the content on larger screens.
Slightly increase gutter gap on larger screens.
@nginx-jack nginx-jack force-pushed the centre-justify-content-grid branch from 3af99ff to 54a837c Compare April 15, 2025 16:54
@danielledeleo danielledeleo merged commit fd2aee1 into main Apr 15, 2025
7 checks passed
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.

3 participants