From 1602285720af8b4d86ce6ff91f59c9eb43f17e84 Mon Sep 17 00:00:00 2001 From: kr8n3r Date: Fri, 29 Nov 2019 09:36:07 +0000 Subject: [PATCH 1/2] Fix header enviroment label layout on mobile Currently headers with envirobment label on mobile overlap the menu button if it exists. This is caused by `white-space: nowrap;` on the `.gem-c-header__logo`. This property doesn't exist in the GOV.UK Design system code and removing doesn't look to cause any issues. Fixes #1029 --- .../govuk_publishing_components/components/_layout-header.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss b/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss index 007a71ae50..d23dd9e605 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss @@ -19,7 +19,6 @@ } .gem-c-header__logo { - white-space: nowrap; width: auto; } From e0142a6cec239720071dfade38daaec35fc65a61 Mon Sep 17 00:00:00 2001 From: kr8n3r Date: Fri, 29 Nov 2019 09:40:46 +0000 Subject: [PATCH 2/2] Add changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19eaf2af84..6f0c53a02b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ useful summary for people upgrading their application, not a replication of the commit log. +## Unreleased + +* Fix header environment label layout on mobile ([PR #1212](https://github.com/alphagov/govuk_publishing_components/pull/1212)) + ## 21.13.2 * Change tags and styling for feedback component ([PR #1207](https://github.com/alphagov/govuk_publishing_components/pull/1207))