diff --git a/CHANGELOG.md b/CHANGELOG.md index d9ffd2f5..412d7012 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Changelog -## 2.2.2 +## Unreleased - [#223: Remove unnecessary CSS class on the search submit button](https://github.com/alphagov/tech-docs-gem/pull/223) +- [#224: Accessibility fix: Hide the 'table of contents close' button when search results are open](https://github.com/alphagov/tech-docs-gem/pull/224) ## 2.2.1 diff --git a/lib/assets/stylesheets/modules/_search.scss b/lib/assets/stylesheets/modules/_search.scss index 07514abb..d6ee565d 100644 --- a/lib/assets/stylesheets/modules/_search.scss +++ b/lib/assets/stylesheets/modules/_search.scss @@ -57,6 +57,10 @@ html.has-search-results-open { .app-pane__content { overflow: hidden; } + + .toc__close{ + display: none; + } } .search-results { display: none;