Sha256: ab2ee0f1daca1baeb1df081deace50605493d62ce53d18605681c5a5ed44e9dc

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 Bytes

Contents

<%= 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="bg-lookbook-divider relative" x-init="registerGutter">
        <div class="absolute z-10 bg-transparent hover:bg-lookbook-draggable-hint transition-all" :class="{
          'w-[9px] h-full -translate-x-1/2 cursor-[col-resize]': vertical,
          'h-[9px] w-full -translate-y-1/2 cursor-[row-resize]': horizontal
        }"></div>
      </div>
    <% end %>
  <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lookbook-1.0.0.beta.4 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.beta.3 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.beta.2 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.beta.1 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.beta.0 app/components/lookbook/split_layout/component.html.erb