Skip to content
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

Page title component changes #4550

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Page title component changes #4550

wants to merge 2 commits into from

Conversation

andysellick
Copy link
Contributor

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Remove instances of the title component using margin_top: 0. Instead, use the heading component configured to look and behave exactly the same.

Pages this impacts:

Why

We're removing the margin_top option from the title component, and looking at potentially merging the title component into the heading component, so this is a step in that direction.

Visual changes

None.

Trello card: https://trello.com/c/Y0pDWbHw/390-move-some-shared-helper-options-into-component-wrapper

- both instances of this title component called margin_top: 8, but this is the default behaviour of the component and does nothing
- replacing instances of the title component that used margin_top: 0 with instances of the heading component
- however these titles had a context, so including a context above the heading as well, so no visual changes
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