Sha256: 289d61b8deb46d84cc5300ef0498593bd6df9c29ae3310c44a01f37e34dd41e9

Contents?: true

Size: 690 Bytes

Versions: 12

Compression:

Stored size: 690 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="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" 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 %>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/components/lookbook/split_layout/component.html.erb
lookbook-2.3.3 app/components/lookbook/split_layout/component.html.erb
lookbook-2.3.2 app/components/lookbook/split_layout/component.html.erb
lookbook-2.3.0 app/components/lookbook/split_layout/component.html.erb
lookbook-2.2.2 app/components/lookbook/split_layout/component.html.erb
lookbook-2.2.1 app/components/lookbook/split_layout/component.html.erb
lookbook-2.2.0 app/components/lookbook/split_layout/component.html.erb
lookbook-2.1.1 app/components/lookbook/split_layout/component.html.erb
lookbook-2.1.0 app/components/lookbook/split_layout/component.html.erb
lookbook-2.0.5 app/components/lookbook/split_layout/component.html.erb
lookbook-2.0.4 app/components/lookbook/split_layout/component.html.erb
lookbook-2.0.3 app/components/lookbook/split_layout/component.html.erb