Skip to content

Make centre rule configurable in grid module#15951

Open
frederickobrien wants to merge 1 commit into
mainfrom
custom-centre-rules-in-grid-api
Open

Make centre rule configurable in grid module#15951
frederickobrien wants to merge 1 commit into
mainfrom
custom-centre-rules-in-grid-api

Conversation

@frederickobrien
Copy link
Copy Markdown
Contributor

This rejigs the verticalRules option added to the grid module in #15760 so that its configurable to the nth child of the grid, rather than the first by default. This has come up while working on #15358 and #15922 and feels like a worthwhile change in its own right as the central rule is likely to align with different pieces of article furniture depending on the layout.

As a proving ground this PR applies the new approach to the gallery layout, which was the first to adopt the new vertical rules approach in #15776.

@frederickobrien frederickobrien self-assigned this May 21, 2026
@frederickobrien frederickobrien requested review from a team and JamieB-gu May 21, 2026 16:16
@github-actions
Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@frederickobrien frederickobrien added the feature Departmental tracking: work on a new feature label May 21, 2026
@frederickobrien frederickobrien added this to the Interactives milestone May 21, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

@frederickobrien frederickobrien added the run_chromatic Runs chromatic when label is applied label May 21, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label May 21, 2026
@frederickobrien frederickobrien force-pushed the custom-centre-rules-in-grid-api branch from acda072 to c98180b Compare May 28, 2026 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant