From 7e3f39b82f081e008ed9006c5811270f2b857b5e Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Mon, 16 Mar 2020 10:26:04 +0000 Subject: [PATCH 1/2] Import textarea from character count The character count component wraps the textarea component, but does not currently import it. This means that, for example, if you only `@import govuk/components/character-count` the textarea would be unstyled. Import the textarea component so that the styles are included correctly. --- src/govuk/components/character-count/_character-count.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/govuk/components/character-count/_character-count.scss b/src/govuk/components/character-count/_character-count.scss index b4e399daeb..9a802e9fd8 100644 --- a/src/govuk/components/character-count/_character-count.scss +++ b/src/govuk/components/character-count/_character-count.scss @@ -5,6 +5,7 @@ @import "../error-message/error-message"; @import "../hint/hint"; @import "../label/label"; +@import "../textarea/textarea"; @include govuk-exports("govuk/component/character-count") { .govuk-character-count { From 87a37c7b20746ad4a918d7ac393d4e9eb2895483 Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Mon, 16 Mar 2020 10:27:08 +0000 Subject: [PATCH 2/2] Add to changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2087f11ef..e3fac62d6d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Fixes + +- [Pull request #1765: Import textarea from character count](https://github.com/alphagov/govuk-frontend/pull/1765). + ## 3.6.0 (Feature release) ### New features