From ac794dbc5bacbdc3812a2565b3969edb421181a4 Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Fri, 19 Feb 2021 13:55:06 +0000 Subject: [PATCH 1/4] Add Sass for GOV.UK Frontend inset-text --- app/assets/stylesheets/govuk-frontend/_all.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/govuk-frontend/_all.scss b/app/assets/stylesheets/govuk-frontend/_all.scss index 8249d38f3..6cf2aff39 100644 --- a/app/assets/stylesheets/govuk-frontend/_all.scss +++ b/app/assets/stylesheets/govuk-frontend/_all.scss @@ -34,6 +34,7 @@ $govuk-assets-path: "/static/"; @import "components/radios/_radios"; @import "components/checkboxes/_checkboxes"; @import "components/input/_input"; +@import "components/inset-text/_inset-text"; // update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x @import "./focus/components"; From 79a0a14b38c69a148adc243cecb233897e173254 Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Fri, 19 Feb 2021 13:55:40 +0000 Subject: [PATCH 2/4] Copy inset-text component from GOV.UK Frontend --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 200988779..b803c83f1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -71,7 +71,8 @@ const copy = { 'label', 'checkboxes', 'radios', - 'input' + 'input', + 'inset-text' ]; let done = 0; From 9ee2c3946a1d581708092a3bc7b7d9644b4978fa Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Fri, 19 Feb 2021 14:46:09 +0000 Subject: [PATCH 3/4] Use inset-text component for template formatting partials This adds spacing classes from the design system where necessary to keep the spacing looking the same. It also replaces the `