diff --git a/app/assets/stylesheets/search_results_summary.scss b/app/assets/stylesheets/search_results_summary.scss index e6864f0db..93e27677d 100644 --- a/app/assets/stylesheets/search_results_summary.scss +++ b/app/assets/stylesheets/search_results_summary.scss @@ -1,4 +1,5 @@ .search-results-summary { + @include grid-column-gutter; @include full-width-background; background: $highlight; margin-bottom: $line-height; diff --git a/app/components/shared/search_results_summary_component.html.erb b/app/components/shared/search_results_summary_component.html.erb index 94ca14bd4..2855f58a8 100644 --- a/app/components/shared/search_results_summary_component.html.erb +++ b/app/components/shared/search_results_summary_component.html.erb @@ -1,17 +1,13 @@
-
-
- <% if search_terms || advanced_search_terms %> -

<%= t("shared.search_results") %>

-

- <%= page_entries_info results %> - <% if advanced_search_terms.blank? %> - <%= summary %> - <% end %> -

- <% else %> - <%= content %> + <% if search_terms || advanced_search_terms %> +

<%= t("shared.search_results") %>

+

+ <%= page_entries_info results %> + <% if advanced_search_terms.blank? %> + <%= summary %> <% end %> -

-
+

+ <% else %> + <%= content %> + <% end %>