Sha256: f3b5fa950a6a044526c9f2607a5227730103b11282e28edb3eac8316cd591f68

Contents?: true

Size: 599 Bytes

Versions: 22

Compression:

Stored size: 599 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

22 entries across 22 versions & 1 rubygems

Version Path
lookbook-1.3.1 app/components/lookbook/split_layout/component.html.erb
lookbook-1.3.0 app/components/lookbook/split_layout/component.html.erb
lookbook-1.2.1 app/components/lookbook/split_layout/component.html.erb
lookbook-1.2.0 app/components/lookbook/split_layout/component.html.erb
lookbook-1.1.1 app/components/lookbook/split_layout/component.html.erb
lookbook-1.1.0 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.8 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.7 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.6 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.5 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.4 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.3 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.2 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.1 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.rc.3 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.rc.2 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.rc.1 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.beta.8 app/components/lookbook/split_layout/component.html.erb
lookbook-1.0.0.beta.7 app/components/lookbook/split_layout/component.html.erb