From 3d17fbcdce0eec1f2de9e82f8343a7765f2d8e02 Mon Sep 17 00:00:00 2001 From: Iqbal Ahmed Date: Tue, 23 Mar 2021 17:44:24 +0000 Subject: [PATCH] ISSUE 220 - Remove unused CSS 'govuk-button' class from the 'search' submit button - The 'search' submit button had the un-necessary CSS class 'govuk-button'. - It a someone uses the gem and they are importing the Design System 'govuk-button' CSS stylesheet, then it breaks the styling on the button. --- CHANGELOG.md | 4 ++++ lib/source/layouts/_search.erb | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 125026bc..d9ffd2f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.2.2 + +- [#223: Remove unnecessary CSS class on the search submit button](https://github.com/alphagov/tech-docs-gem/pull/223) + ## 2.2.1 - [#218: Remove unnecessary explicit dependencies: sprockets, activesupport, sass and pry](https://github.com/alphagov/tech-docs-gem/pull/218) diff --git a/lib/source/layouts/_search.erb b/lib/source/layouts/_search.erb index 269522e5..19645ca6 100644 --- a/lib/source/layouts/_search.erb +++ b/lib/source/layouts/_search.erb @@ -11,7 +11,7 @@ class="govuk-input govuk-!-margin-bottom-0 search__input" aria-controls="search-results" placeholder="Search"> - +