diff --git a/app/components/search_component.html.erb b/app/components/search_component.html.erb index 9c989f0f0..5e3eb4ae3 100644 --- a/app/components/search_component.html.erb +++ b/app/components/search_component.html.erb @@ -10,7 +10,7 @@ autocomplete: "off", class: "app-search__input" %> - <%= f.govuk_submit "Search", classes: "app-search__button" %> + <%= f.govuk_submit "Search", class: "app-search__button" %> <%= govuk_button_link_to "Clear search", path(current_user), secondary: true, class: "app-search__button" %> <% end %> diff --git a/app/frontend/styles/_filter.scss b/app/frontend/styles/_filter.scss index 43b9d8862..ce233b75b 100644 --- a/app/frontend/styles/_filter.scss +++ b/app/frontend/styles/_filter.scss @@ -3,6 +3,15 @@ margin-bottom: govuk-spacing(2); } +.govuk-checkboxes__label, +.govuk-radios__label { + @include govuk-font(16); + + &:before { + background-color: govuk-colour("white"); + } +} + .app-filter__header { background-color: govuk-colour("light-grey"); display: flex; @@ -90,15 +99,6 @@ } } - .govuk-checkboxes__label, - .govuk-radios__label { - @include govuk-font(16); - - &:before { - background-color: govuk-colour("white"); - } - } - .autocomplete__input { @include govuk-font(16); background-color: govuk-colour("white");