app/components/lookbook/nav/item/component.html.erb in lookbook-1.2.1 vs app/components/lookbook/nav/item/component.html.erb in lookbook-1.3.0
- old
+ new
@@ -4,10 +4,10 @@
"x-show": "!filteredOut",
data: {
"entity-type": item.type
},
cloak: true do %>
- <%= lookbook_tag href.present? ? :a : :div,
+ <%= lookbook_tag href.present? ? :a : :button,
href: href,
class: "flex items-center py-1 select-none cursor-pointer text-lookbook-nav-text hover:bg-lookbook-nav-item-hover transition",
style: "padding-left: #{left_pad}px",
"x-bind": "bindings.#{href.present? ? "link" : "toggle"}" do %>
<div class="relative flex items-center w-full">
\ No newline at end of file