From 047b0df363fdb7b2665c0bc87c270bef9d6ea9e4 Mon Sep 17 00:00:00 2001 From: Andy Sellick Date: Fri, 2 Aug 2019 13:25:40 +0100 Subject: [PATCH] Fix for select height zoom problem --- CHANGELOG.md | 2 ++ .../govuk_publishing_components/components/_select.scss | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7db2bd9557..d3403a8763 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * Add tests for email feedback form (PR #1017) * Add `lang` attribute option to subscription links (PR #1019) +* Fix for select height zoom problem (PR #1018) ## 17.20.0 @@ -18,6 +19,7 @@ * Change statistics header link to link to new finder (PR #1015) ## 17.19.1 + * Replace subscription links images with SVG (PR #1008) * Change subscription links CSS (PR #1007) diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_select.scss b/app/assets/stylesheets/govuk_publishing_components/components/_select.scss index ab17594a87..df2cf07fc8 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_select.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_select.scss @@ -3,3 +3,11 @@ .gem-c-select__select--full-width { width: 100%; } + +// Solution to text inside selects becoming unreadable if font size in +// the browser is increased. This is currently a problem in govuk-frontend +.gem-c-select { + .govuk-select { + height: 2.14em; + } +}