From 7ec774a48cf9ca8aab076e3f3d1f382dd564d64b Mon Sep 17 00:00:00 2001 From: Kevin Chang Date: Mon, 6 Feb 2023 18:10:25 -0800 Subject: [PATCH] feat(search): formatting fixes --- docs/app/views/pages/search.html.erb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/app/views/pages/search.html.erb b/docs/app/views/pages/search.html.erb index 1a9ec6fff7..e269c58fda 100644 --- a/docs/app/views/pages/search.html.erb +++ b/docs/app/views/pages/search.html.erb @@ -26,19 +26,17 @@ <% end %> <% end %> <% if @search.present? %> - <%= @search %> <%= sage_component SageCard, { spacer: { top: :xl }} do %> <% sorted_sage_components.each do |component| %> <% if component[:title].include? @search or component[:description].include? @search %> <%= sage_component SageChoice, { - attributes: { - href: pages_component_path(component[:title]) - }, - subtext: component[:description], - text: component[:title].titleize, - type: "arrow", - } - %> + attributes: { + href: pages_component_path(component[:title]) + }, + subtext: component[:description], + text: component[:title].titleize, + type: "arrow", + } %> <% end %> <% end %> <% end %>