From d623567209454ea0b0433ff9e88daf458b75f4f6 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Mon, 23 Oct 2023 08:33:54 +0100 Subject: [PATCH 1/2] Include intervention Javascript - the Javascript for the intervention component was not being included in this application --- app/assets/javascripts/application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 7680401f0..8586f6562 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -5,6 +5,7 @@ //= require govuk_publishing_components/components/details //= require govuk_publishing_components/components/govspeak //= require govuk_publishing_components/components/image-card +//= require govuk_publishing_components/components/intervention //= require govuk_publishing_components/components/metadata //= require govuk_publishing_components/components/step-by-step-nav From ea1f9299fac5110f9fc48694fbc6fc106c6e4726 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Mon, 23 Oct 2023 08:34:48 +0100 Subject: [PATCH 2/2] Remove component style override - this line was present to override the appearance of list item elements within govspeak, rendered in the header of the /coronavirus page - there are currently no list item elements in the header of the coronavirus page, and since the page is not now being frequently updated it seems safe to remove this style override - we shouldn't be overriding component styles like this anyway, if there's a problem with the component it should be fixed in the component --- app/assets/stylesheets/views/_covid.scss | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/assets/stylesheets/views/_covid.scss b/app/assets/stylesheets/views/_covid.scss index 3012cb2a3..962246020 100644 --- a/app/assets/stylesheets/views/_covid.scss +++ b/app/assets/stylesheets/views/_covid.scss @@ -42,12 +42,6 @@ $c19-landing-page-header-background: govuk-colour("blue"); @include govuk-media-query($from: tablet) { padding: 45px 0 40px; } - - .gem-c-govspeak { - li { - margin: 0 0 govuk-spacing(2); - } - } } .covid__action-link-wrapper {