diff --git a/app/assets/stylesheets/components/_filter-panel.scss b/app/assets/stylesheets/components/_filter-panel.scss index 37d7300e6..8eab174f4 100644 --- a/app/assets/stylesheets/components/_filter-panel.scss +++ b/app/assets/stylesheets/components/_filter-panel.scss @@ -48,7 +48,7 @@ } &::before { - margin: 0 govuk-spacing(2) govuk-spacing(1) 0; + margin: 0 govuk-spacing(3) govuk-spacing(1) 0; } } diff --git a/app/views/components/_filter_panel.html.erb b/app/views/components/_filter_panel.html.erb index ba50fc6ba..fe638a702 100644 --- a/app/views/components/_filter_panel.html.erb +++ b/app/views/components/_filter_panel.html.erb @@ -24,9 +24,7 @@ id: button_id, class: "app-c-filter-panel__button govuk-link", aria: { expanded: "false", controls: panel_content_id } - ) do %> - <%= button_text %> - <% end %> + ) { button_text } %> <% if result_text.present? %> <%= content_tag("h2", class: "app-c-filter-panel__count") do %>