From 33b388941ddb474a2a8436f12a021d2db202c999 Mon Sep 17 00:00:00 2001 From: Charlotte Downs Date: Wed, 11 Aug 2021 09:31:26 +0100 Subject: [PATCH 1/2] add width to file upload --- src/govuk/components/file-upload/_index.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/govuk/components/file-upload/_index.scss b/src/govuk/components/file-upload/_index.scss index 97ffc19e31..9841384e97 100644 --- a/src/govuk/components/file-upload/_index.scss +++ b/src/govuk/components/file-upload/_index.scss @@ -8,6 +8,7 @@ .govuk-file-upload { @include govuk-font($size: 19); @include govuk-text-colour; + max-width: 100%; margin-left: -$component-padding; padding: $component-padding; From 859d85605f5dfce6fed6b8a78f731d703ce958f8 Mon Sep 17 00:00:00 2001 From: Vanita Barrett Date: Thu, 26 Aug 2021 13:45:34 +0100 Subject: [PATCH 2/2] Adding latest changelog.md to file-upload width branch --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f039a0498a..b7e48cfc83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ We’ve made fixes to GOV.UK Frontend in the following pull requests: - [#2277: Fix invisible start button chevron in forced color mode](https://github.com/alphagov/govuk-frontend/pull/2277) - [#2290: Improve support for IE11 with Windows High Contrast Mode](https://github.com/alphagov/govuk-frontend/pull/2290) - [#2312: Remove padding-right from details element](https://github.com/alphagov/govuk-frontend/pull/2312) +- [#2306: Add max-width to file upload component](https://github.com/alphagov/govuk-frontend/pull/2306) ## 3.13.0 (Feature release)