Sha256: a8c8cb9c3a5aac7f77cc9b0f1e59035744e8ea04d1075447242ecfb37331745e
Contents?: true
Size: 1006 Bytes
Versions: 16
Compression:
Stored size: 1006 Bytes
Contents
<% path = show_path(item.lookup_path) display ||= :item label ||= item.label item_icon = display == :node ? "layers" : "eye" %> <li key="nav-item-<%= item.id %>-item"> <div id="nav-item-<%= item.id %>" x-data="navItem(<%= item.matchers.to_json %>)" :class="{hidden}" data-path="<%= path %>" x-cloak> <a href="<%= path %>" class="nav-link pr-3 py-[5px] flex items-center w-full group transition hover:bg-gray-200 hover:bg-opacity-50" style="padding-left: calc((<%= depth - 1 %> * 12px) + 0.5rem);" x-ref="link" :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'"> <%= icon item_icon, size: 3.5, class: "group-hover:text-indigo-800" %> </div> <div class="truncate whitespace-nowrap select-none <%= "font-bold" if display == :node %>"> <%= label %> </div> </a> </div> </li>
Version data entries
16 entries across 16 versions & 1 rubygems