Skip to content

Commit

Permalink
Deprecate unnecessary main wrapper mixins
Browse files Browse the repository at this point in the history
We're not sure these are useful, so these will be removed in a future release, if you are using this please let us know.
  • Loading branch information
NickColley authored and aliuk2012 committed Jun 14, 2019
1 parent a7b3d89 commit ade03d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/objects/_main-wrapper.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
// </div>


/// @deprecated Replace this mixin with more direct references to the [spacing mixins](https://design-system.service.gov.uk/styles/spacing/#spacing-on-custom-components).
@mixin govuk-main-wrapper {
// In IE11 the `main` element can be used, but is not recognized –
// meaning it's not defined in IE's default style sheet,
Expand All @@ -37,7 +38,9 @@
}
}

// Use govuk-main-wrapper--l when you page does not have Breadcrumbs, phase banners or back links
/// Use govuk-main-wrapper--l when you page does not have Breadcrumbs, phase banners or back links.
///
/// @deprecated Replace this mixin with more direct references to the [spacing mixins](https://design-system.service.gov.uk/styles/spacing/#spacing-on-custom-components).
@mixin govuk-main-wrapper--l {
@include govuk-responsive-padding(8, "top");
}
Expand Down

0 comments on commit ade03d4

Please sign in to comment.