diff --git a/CHANGELOG.md b/CHANGELOG.md index 794e784d6f..b1e6a1f21b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ * Tidy up untranslated content and formatting on accordion docs ([PR #1958](https://github.com/alphagov/govuk_publishing_components/pull/1958)) PATCH * Add visual regression testing tool Percy ([PR #1013](https://github.com/alphagov/govuk_publishing_components/pull/1013)) PATCH * Remove @extend from component Sass ([PR #2002](https://github.com/alphagov/govuk_publishing_components/pull/2002)) PATCH +* Remove grid overrides in layout-header ([PR #2013](https://github.com/alphagov/govuk_publishing_components/pull/2013)) PATCH ## 24.9.1 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 d8651905bb..9b08df028c 100644 --- a/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss +++ b/app/assets/stylesheets/govuk_publishing_components/components/_layout-header.scss @@ -33,7 +33,7 @@ .gem-c-layout-header--search-left { .gem-c-header__menu-button.govuk-header__menu-button { margin-top: - govuk-spacing(7); - left: 0; + left: govuk-spacing(3); } .gem-c-header__nav-wrapper { @@ -78,16 +78,6 @@ } } -@include govuk-compatibility(govuk_template) { - .gem-c-layout-header__search.govuk-grid-column-one-third-from-desktop, - .gem-c-layout-header__logo.govuk-grid-column-one-third-from-desktop, - .gem-c-layout-header__search.govuk-grid-column-one-third, - .gem-c-layout-header__logo.govuk-grid-column-two-thirds { - padding-right: 0; - padding-left: 0; - } -} - .gem-c-layout-header__logo, .gem-c-layout-header__search { @include govuk-media-query($until: "tablet") { diff --git a/app/views/govuk_publishing_components/components/_layout_header.html.erb b/app/views/govuk_publishing_components/components/_layout_header.html.erb index 48afa6605b..4823ef415c 100644 --- a/app/views/govuk_publishing_components/components/_layout_header.html.erb +++ b/app/views/govuk_publishing_components/components/_layout_header.html.erb @@ -18,12 +18,12 @@