From 4a7a515309f7cadd20e218c402c79de05fa2c51f Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Fri, 20 Aug 2021 15:31:36 +0100 Subject: [PATCH] Simplify summary list 'value' column width MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rather than setting an explicit width for the 'value' column, we can leave the width out and it'll expand to use the full remaining width once the widths of the key and actions columns – both of which have defined widths – have been taken into account. --- src/govuk/components/summary-list/_index.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/govuk/components/summary-list/_index.scss b/src/govuk/components/summary-list/_index.scss index bea68c8180..4f40a47911 100644 --- a/src/govuk/components/summary-list/_index.scss +++ b/src/govuk/components/summary-list/_index.scss @@ -64,16 +64,6 @@ @include govuk-media-query($until: tablet) { margin-bottom: govuk-spacing(3); } - @include govuk-media-query($from: tablet) { - width: 50%; - } - } - - // Expand width when value is last column (no action) - .govuk-summary-list__value:last-child { - @include govuk-media-query($from: tablet) { - width: 70%; - } } .govuk-summary-list__value > p {