diff --git a/src/components/cookie-banner/_cookie-banner.scss b/src/components/cookie-banner/_cookie-banner.scss index 6294b1b7f9..6eb9356c2f 100644 --- a/src/components/cookie-banner/_cookie-banner.scss +++ b/src/components/cookie-banner/_cookie-banner.scss @@ -18,7 +18,7 @@ } .govuk-c-cookie-banner__message { - @include govuk-site-width-container; + @include govuk-width-container; } @include mq($media-type: print) { diff --git a/src/globals/scss/_common.scss b/src/globals/scss/_common.scss index 3c2ea6e161..5cf183a311 100644 --- a/src/globals/scss/_common.scss +++ b/src/globals/scss/_common.scss @@ -37,9 +37,9 @@ // Objects @import "objects/grid"; -@import "objects/site-width-container"; +@import "objects/main-wrapper"; @import "objects/shapes"; -@import "objects/content-wrapper"; +@import "objects/width-container"; // Overrides @import "overrides/spacing"; diff --git a/src/globals/scss/objects/_content-wrapper.scss b/src/globals/scss/objects/_content-wrapper.scss deleted file mode 100644 index e0cb636482..0000000000 --- a/src/globals/scss/objects/_content-wrapper.scss +++ /dev/null @@ -1,20 +0,0 @@ -@include exports("content-wrapper") { - - // Example usage - - //
-{% block componentDescription %} -{% endblock %} -
- -- More information about when to use {{ componentName }} can be found on GOV.UK Design System -
- - -{% if isReadme %} -{% block componentHtmlUsageWriteup %}{% endblock %}
-{% endif %} - -{% from "./macros/showDefaultAndVariants.njk" import showDefaultAndVariants %} -{% block defaultAndVariants %} -{{ showDefaultAndVariants(componentName, componentData) }} -{% endblock %} - -{% if isReadme %} -To consume the {{ componentName }} component you must be running npm version 5 or above.
- -{% block componentDependencies %}{% endblock %}
- -npm install --save @govuk-frontend/{{ componentName }}
-
-When compiling the Sass files you'll need to define includePaths to reference the node_modules directory. Below is a sample configuration using gulp
-
-
- .pipe(sass({
- includePaths: 'node_modules/'
- }))
-
-
-
-To show the button image you need to configure your app to show these assets. Below is a sample configuration using Express js:
-
-
-app.use('/public', express.static(path.join(__dirname, '/node_modules/@govuk-frontend/icons')))
-
-
-{% endif %}
-
-If you are using Nunjucks,then macros take the following arguments
-Below is an example setup using express configure views:
-
-
-nunjucks.configure('node_modules/@govuk-frontend`, {
- autoescape: true,
- cache: false,
- express: app
-})
-
-
-
-To check whether you have the latest version of the button run:
- -npm outdated @govuk-frontend/{{ componentName }}
-
-To update the latest version run:
- -npm update @govuk-frontend/{{ componentName }}
-
-- Guidelines can be found at on our Github repository. -
- -MIT
-{% endif %} - -{% if not isReadme %} -- - View the {{ componentName }} README on GitHub - -
++ {% block componentDescription %} + {% endblock %} +
+ ++ More information about when to use {{ componentName }} can be found on GOV.UK Design System +
+ + {% if isReadme %} +{% block componentHtmlUsageWriteup %}{% endblock %}
+ {% endif %} + + {% from "./macros/showDefaultAndVariants.njk" import showDefaultAndVariants %} + {% block defaultAndVariants %} + {{ showDefaultAndVariants(componentName, componentData) }} + {% endblock %} + + {% if isReadme %} +To consume the {{ componentName }} component you must be running npm version 5 or above.
+ +{% block componentDependencies %}{% endblock %}
+ +npm install --save @govuk-frontend/{{ componentName }}
+
+ When compiling the Sass files you'll need to define includePaths to reference the node_modules directory. Below is a sample configuration using gulp
+
+
+ .pipe(sass({
+ includePaths: 'node_modules/'
+ }))
+
+
+
+ To show the button image you need to configure your app to show these assets. Below is a sample configuration using Express js:
+
+
+ app.use('/public', express.static(path.join(__dirname, '/node_modules/@govuk-frontend/icons')))
+
+
+ {% endif %}
+
+ If you are using Nunjucks,then macros take the following arguments
+Below is an example setup using express configure views:
+
+
+ nunjucks.configure('node_modules/@govuk-frontend`, {
+ autoescape: true,
+ cache: false,
+ express: app
+ })
+
+
+
+ To check whether you have the latest version of the button run:
+ +npm outdated @govuk-frontend/{{ componentName }}
+
+ To update the latest version run:
+ +npm update @govuk-frontend/{{ componentName }}
+
+ + Guidelines can be found at on our Github repository. +
+ +MIT
+ {% endif %} + + {% if not isReadme %} +