app/components/lookbook/nav/item/component.html.erb in lookbook-1.0.0.beta.8 vs app/components/lookbook/nav/item/component.html.erb in lookbook-1.0.0.rc.1
- old
+ new
@@ -15,10 +15,10 @@
<%= icon nil,
size: 3,
class: "mr-1 text-lookbook-nav-toggle absolute -left-4",
"x-effect": "iconName = open ? 'chevron-down' : 'chevron-right'" if children? %>
<%= icon nav_icon, size: 3.5, class: "mr-1.5 text-lookbook-nav-icon-stroke" %>
- <span><%= label %></span>
+ <span <% if @item.type == :preview %>class="font-bold"<% end %>><%= label %></span>
</div>
<% end %>
<% if children? %>
<ul x-ref="items" x-show="open" x-cloak>
\ No newline at end of file