From 11ae879a759a430caca86a018bdeafe5f92e7da1 Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Mon, 10 Jul 2023 16:50:32 +0100 Subject: [PATCH 01/11] Remove unused tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no `govuk-tag--black` modifier class, and the status for this task doesn’t use the tag component, so it shouldn’t be using tag modifiers anyway. --- .../govuk-frontend/src/govuk/components/task-list/task-list.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/govuk-frontend/src/govuk/components/task-list/task-list.yaml b/packages/govuk-frontend/src/govuk/components/task-list/task-list.yaml index e33be87bd4..4d5f027640 100644 --- a/packages/govuk-frontend/src/govuk/components/task-list/task-list.yaml +++ b/packages/govuk-frontend/src/govuk/components/task-list/task-list.yaml @@ -99,7 +99,6 @@ examples: href: '#' status: text: Completed - classes: govuk-tag--black - title: text: Registered company details From aa885b5d85fb36f097cfaba059d9df72a8b02d77 Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Mon, 10 Jul 2023 17:27:32 +0100 Subject: [PATCH 02/11] Style tweaks to template --- .../src/govuk/components/task-list/template.njk | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/govuk-frontend/src/govuk/components/task-list/template.njk b/packages/govuk-frontend/src/govuk/components/task-list/template.njk index db1a2ebc91..0e6ef856aa 100644 --- a/packages/govuk-frontend/src/govuk/components/task-list/template.njk +++ b/packages/govuk-frontend/src/govuk/components/task-list/template.njk @@ -1,18 +1,16 @@ {% from "../tag/macro.njk" import govukTag -%} {% set idPrefix = params.idPrefix if params.idPrefix else "task-list" %} -