app/components/lookbook/split_layout/component.html.erb in lookbook-2.0.2 vs app/components/lookbook/split_layout/component.html.erb in lookbook-2.0.3

- old
+ new

@@ -1,10 +1,10 @@ <%= render_component_tag class: "grid h-full w-full", "x-bind": "bindings.root", "x-effect": "initSplit" do %> <% panes.each.with_index(1) do |pane, i| %> <%= pane %> <% if i < panes.size %> <div class="split-layout-gutter bg-lookbook-divider relative z-50" x-init="registerGutter"> - <div class="absolute z-10 bg-transparent hover:bg-lookbook-draggable-hint transition-all" :class="{ + <div class="absolute z-10 bg-transparent hover:bg-lookbook-draggable-hint transition-all" x-bind:class="{ 'w-[9px] h-full -translate-x-1/2 cursor-[col-resize] split-layout-gutter-vertical': vertical, 'h-[9px] w-full -translate-y-1/2 cursor-[row-resize] split-layout-gutter-horizontal': horizontal }"></div> </div> <% end %> \ No newline at end of file