Sha256: de491e364c8ce92a5ce582a81d810ad1a5188358867dc9782df2322bab4dac7b

Contents?: true

Size: 496 Bytes

Versions: 3

Compression:

Stored size: 496 Bytes

Contents

<figure class="flex items-center gap-2">
  <% if content? %>
    <%= content %>
  <% else %>
    <%= icon_thumbnail %>
  <% end %>
  <figcaption class="flex flex-col gap-0 max-w-[15rem]">
    <div class="text-black body-small whitespace-nowrap text-ellipsis overflow-hidden">
      <%= caption %>
    </div>
    <% if detail %>
      <div class="text-gray-500 body-small whitespace-nowrap text-ellipsis overflow-hidden">
        <%= detail %>
      </div>
    <% end %>
  </figcaption>
</figure>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/ui/thumbnail_with_caption/component.html.erb
solidus_admin-0.3.1 app/components/solidus_admin/ui/thumbnail_with_caption/component.html.erb
solidus_admin-0.3.0 app/components/solidus_admin/ui/thumbnail_with_caption/component.html.erb