From f279af10c78c14268d0f9dd2ea4bbdd2f395213b Mon Sep 17 00:00:00 2001 From: Max Harden Date: Thu, 23 Jan 2020 15:42:21 +0000 Subject: [PATCH] Improve logo spacing The new search box is larger than the old one making the header section taller. This adjusts the header to put the searchbox central vertically and aligns the logo with it. --- .../govuk_publishing_components/components/_layout-header.scss | 3 ++- 1 file changed, 2 insertions(+), 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 27122b803f..664c8d076f 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss @@ -31,7 +31,6 @@ .gem-c-layout-header__logo, .gem-c-layout-header__search { padding: 0; - margin-bottom: govuk-spacing(2); @include govuk-media-query($until: "tablet") { margin-bottom: 0; @@ -40,6 +39,8 @@ .gem-c-header__logo { white-space: nowrap; + margin-top: govuk-spacing(1); + margin-bottom: govuk-spacing(3); } .gem-c-header__content {