[DO NOT MERGE] Remove title component margin_top option #4508
+6
−23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What
Applications that use this component, and their use of the
margin_top
option are:collections
(changes covered in Update usage of the title component collections#3918)datagovuk_find
(no use ofmargin_top
so no change required)email-alert-frontend
(no use ofmargin_top
so no change required)feedback
(changes covered in Use heading component instead of title feedback#2042)finder-frontend
(no use ofmargin_top
so no change required)frontend
(changes covered in Page title component changes frontend#4550)government-frontend
is a bit problematic, need to get this change deployed so we can switch from the title to heading component: Add context option to heading component #4510)manuals-publisher
(changes covered in Replace title component with heading manuals-publisher#2595)release
search-admin
smart-answers
whitehall
Note that this PR will have to wait for the ones mentioned above and further work to check it is okay before merging
Why
This is part of a wider piece of work to move the margin options from the shared helper into the component wrapper helper and standardise our component spacing model. This is a step towards being able to remove the
margin_top
option from the shared helper.Visual Changes
None.
Trello card: https://trello.com/c/Y0pDWbHw/390-move-some-shared-helper-options-into-component-wrapper