app/components/avo/tab_switcher_component.html.erb in avo-2.16.1.pre.1.nativefields vs app/components/avo/tab_switcher_component.html.erb in avo-2.17.0
- old
+ new
@@ -18,16 +18,16 @@
<% end %>
<% end %>
</div>
</div>
<% else %>
- <div class="flex flex-wrap gap-2" data-target="tab-switcher" data-style="pills">
+ <div class="flex flex-wrap gap-2 bg-white p-2" data-target="tab-switcher" data-style="pills">
<% visible_items.each do |tab| %>
<%= a_link tab_path(tab),
color: selected?(tab) ? :primary : :gray,
style: selected?(tab) ? :outline : :text,
size: :sm,
- class: selected?(tab) ? "z-20" : "",
+ class: selected?(tab) ? "z-20 bg-primary-100" : "",
title: tab.description,
data: {
tippy: tab.description.present? ? 'tooltip' : '',
selected: selected?(tab),
action: 'click->tabs#changeTab',