app/views/lookbook/nav/_leaf.html.erb in lookbook-0.3.5 vs app/views/lookbook/nav/_leaf.html.erb in lookbook-0.4.0.beta.1
- old
+ new
@@ -3,10 +3,10 @@
display ||= :leaf
label ||= leaf.label
%>
<li x-data="navLeaf" :class="{hidden}" x-init="matchers = <%= leaf.matchers.to_json %>; path = '<%= path %>'; setActive()" @popstate.window="setActive">
<a href="<%= path %>"
- class="pr-3 py-[5px] flex items-center w-full group transition hover:bg-gray-200 hover:bg-opacity-50"
+ class="nav-link pr-3 py-[5px] flex items-center w-full group transition hover:bg-gray-200 hover:bg-opacity-50"
style="<%= nav_padding_style(depth) %>"
:class="{'!bg-indigo-100':active}"
@click.stop.prevent="navigate"
>
<div class="relative w-3.5 h-3.5 mr-1.5 <%= "ml-[3px]" if display == :node %> " :class="active ? 'text-gray-900' : 'text-indigo-500'">
\ No newline at end of file