Sha256: 8f5521ebbd1d5ade8dce8d533d58fb0780c5575b1b91b059c1ef63fa53654f70

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

<div class="modal-container fixed inset-0 w-full min-h-screen z-[100] flex justify-center items-center"
  data-controller="modal"
  data-modal-target="modal"
>
  <div aria-expanded="true" class="modal-overlay absolute w-full h-full bg-opacity-25 bg-gray-800 flex justify-center items-center" data-action="click->modal#close"></div>
  <div aria-expanded="true" role="dialog" aria-modal="true" class="modal-body rounded-lg inset-auto bg-white flex z-50 relative shadow-modal overflow-auto  <%= width_classes %> <%= height_classes %>">
    <div class="flex-1 flex flex-col justify-between">
      <div>
        <% if heading? %>
          <div class="p-6 text-2xl tracking-normal font-semibold text-black">
            <%= heading %>
          </div>
        <% end %>

        <% if content? %>
          <div class="px-6 text-base text-gray-500 <%= body_class %>">
            <%= content %>
          </div>
        <% end %>
      </div>
      <% if controls? %>
        <div class="flex justify-end items-baseline space-x-4 p-4 bg-gray-100">
          <%= controls %>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
avo-2.53.0 app/components/avo/modal_component.html.erb
avo-2.52.0 app/components/avo/modal_component.html.erb
avo-2.49.0 app/components/avo/modal_component.html.erb
avo-2.48.0 app/components/avo/modal_component.html.erb
avo-2.47.0 app/components/avo/modal_component.html.erb
avo-2.46.0 app/components/avo/modal_component.html.erb
avo-2.45.0 app/components/avo/modal_component.html.erb
avo-2.44.0 app/components/avo/modal_component.html.erb
avo-2.43.0 app/components/avo/modal_component.html.erb