From ade03d4ba46a0479ad51880112d5c7fd036a3255 Mon Sep 17 00:00:00 2001 From: Nick Colley Date: Tue, 28 May 2019 10:33:19 +0100 Subject: [PATCH] Deprecate unnecessary main wrapper mixins 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. --- src/objects/_main-wrapper.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/objects/_main-wrapper.scss b/src/objects/_main-wrapper.scss index b836e6981f..4557f23736 100644 --- a/src/objects/_main-wrapper.scss +++ b/src/objects/_main-wrapper.scss @@ -20,6 +20,7 @@ // +/// @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, @@ -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"); }