Sha256: 20c16c22d7515ae6b85df8a26e0f773e03e5b457afb7d35c3cfa440ffe3053da

Contents?: true

Size: 652 Bytes

Versions: 2

Compression:

Stored size: 652 Bytes

Contents

<div class="relative w-full">
  <div class="flex mb-2 items-center justify-between">
    <div>
      <span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-zinc-600 bg-zinc-200">
        <%= @label %>
      </span>
    </div>
    <div class="text-right">
      <span class="text-xs font-semibold inline-block text-zinc-600"><%= @value %>%</span>
    </div>
  </div>
  <div class="overflow-hidden h-2 mb-4 text-xs flex rounded bg-zinc-200">
    <div
        class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-zinc-600"
        style="width: <%= @value %>%" ></div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
railwind-0.1.26 lib/railwind/generators/templates/progress/_progress_component.html.erb
railwind-0.1.25 lib/railwind/generators/templates/progress/_progress_component.html.erb