forked from shibao/cannery
fix text styling
This commit is contained in:
parent
9773ccc6ff
commit
5ca21c64fd
@ -72,9 +72,11 @@
|
|||||||
|
|
||||||
<hr class="mb-4 hr" />
|
<hr class="mb-4 hr" />
|
||||||
|
|
||||||
<p>
|
<div>
|
||||||
<%= if @container.ammo_groups |> Enum.empty?() do %>
|
<%= if @container.ammo_groups |> Enum.empty?() do %>
|
||||||
<%= gettext("No ammo groups in this container") %>
|
<h2 class="mx-8 my-4 title text-lg text-primary-600">
|
||||||
|
<%= gettext("No ammo groups in this container") %>
|
||||||
|
</h2>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="flex flex-wrap justify-center items-center">
|
<div class="flex flex-wrap justify-center items-center">
|
||||||
<%= for ammo_group <- @container.ammo_groups do %>
|
<%= for ammo_group <- @container.ammo_groups do %>
|
||||||
@ -82,7 +84,7 @@
|
|||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= if @live_action in [:edit] do %>
|
<%= if @live_action in [:edit] do %>
|
||||||
|
Loading…
Reference in New Issue
Block a user