From e5a9ee1cf490dbdb8daa3acc82bc241f1f0f0b2e Mon Sep 17 00:00:00 2001 From: Alicia Date: Mon, 6 Jan 2025 22:03:26 -0300 Subject: [PATCH] Make tabs change on hover --- app/components/search_pills/component.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/search_pills/component.html.slim b/app/components/search_pills/component.html.slim index d25959a5..a8c8c247 100644 --- a/app/components/search_pills/component.html.slim +++ b/app/components/search_pills/component.html.slim @@ -11,7 +11,7 @@ div class="w-full bg-gray-9" id="tabs-wrapper" / Tabs ul class="flex overflow-x-auto overflow-y-hidden flex-1 gap-x-6 pr-6 pl-5 text-sm list-none bg-blue-pale text-gray-2" - @tabs_labels.each do |tab_label| - li data-action="click->tabs#change" data-tabs-target="tab" + li data-action="mouseover->tabs#change" data-tabs-target="tab" a class="inline-block py-3 whitespace-nowrap" href="#" = tab_label li data-action="click->modal#open" class="underline-on-hover" button class="inline-block py-3 whitespace-nowrap" type="button" id="advanced-filters-button"