From 4191d9046409d5c535911d38839ae2f69cd06ea2 Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Mon, 22 Jul 2019 10:26:33 +0100 Subject: [PATCH 1/2] Update task list focus state --- app/assets/sass/patterns/_task-list.scss | 1 - docs/views/templates/task-list.html | 64 +++++++++++++++--------- 2 files changed, 40 insertions(+), 25 deletions(-) diff --git a/app/assets/sass/patterns/_task-list.scss b/app/assets/sass/patterns/_task-list.scss index 819fc1496f..57aefd5bb3 100644 --- a/app/assets/sass/patterns/_task-list.scss +++ b/app/assets/sass/patterns/_task-list.scss @@ -50,7 +50,6 @@ display: block; @include govuk-media-query($from: 450px) { float: left; - width: 75%; } } diff --git a/docs/views/templates/task-list.html b/docs/views/templates/task-list.html index 325e1470e8..28650a0a76 100644 --- a/docs/views/templates/task-list.html +++ b/docs/views/templates/task-list.html @@ -22,15 +22,19 @@

@@ -41,31 +45,41 @@

@@ -76,9 +90,11 @@

From 0792d1fde82cefa3534c5f80817e2f5d6f89ce03 Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Mon, 22 Jul 2019 14:44:38 +0100 Subject: [PATCH 2/2] Document task list changes in release notes --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e964506f5b..f26a3201c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Unreleased +## Breaking changes + +You must make the following changes when you migrate to this release, or your prototype may break. + +### Update the markup for task list + +Update every item in your task list, removing the `app-task-list__task-name` class from the link and wrapping the link in a new ``. + +```html +[...] +
  • + + + Check eligibility + + +
  • +[...] +``` + +[Pull request #770: Update the task list focus state](https://github.com/alphagov/govuk-prototype-kit/pull/770) + # 8.12.1 Fixes: