Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: m-green <mark.green@digital.cabinet-office.gov.uk>
  • Loading branch information
NickColley and m-green authored Jul 22, 2019
1 parent 6ac9180 commit e6a4f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ You can now add attributes like classes, rowspan and colspan to table row header

### Use page wrapper auto spacing

You can now use the the `.govuk-main-wrapper--auto-spacing` modifier on the main wrapper.
You can now add the `.govuk-main-wrapper--auto-spacing` modifier class to your `<main>` element to add responsive padding to the top and bottom of the page.

This will apply the correct spacing depending on whether there are any elements (such the back link, breadcrumbs or phase banner components) before the `.govuk-main-wrapper` in the `.govuk-width-container`.
This will add the correct amount of padding depending on whether there are elements above the `<main>` element inside the `govuk-width-container` wrapper, like the back link, breadcrumbs or phase banner components.

If you need to control the spacing manually, use the `.govuk-main-wrapper--l` modifier instead.

Expand Down

0 comments on commit e6a4f35

Please sign in to comment.