add missing margins to cards
This commit is contained in:
parent
e4ef22184e
commit
95a08d6088
@ -13,7 +13,7 @@ defmodule CanneryWeb.Components.AmmoGroupCard do
|
|||||||
~H"""
|
~H"""
|
||||||
<div
|
<div
|
||||||
id={"ammo_group-#{@ammo_group.id}"}
|
id={"ammo_group-#{@ammo_group.id}"}
|
||||||
class="px-8 py-4 flex flex-col justify-center items-center
|
class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center
|
||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md"
|
border border-gray-400 rounded-lg shadow-lg hover:shadow-md"
|
||||||
>
|
>
|
||||||
<%= live_redirect to: Routes.ammo_group_show_path(Endpoint, :show, @ammo_group),
|
<%= live_redirect to: Routes.ammo_group_show_path(Endpoint, :show, @ammo_group),
|
||||||
|
@ -10,7 +10,7 @@ defmodule CanneryWeb.Components.ContainerCard do
|
|||||||
~H"""
|
~H"""
|
||||||
<div
|
<div
|
||||||
id={"container-#{@container.id}"}
|
id={"container-#{@container.id}"}
|
||||||
class="px-8 py-4 flex flex-col justify-center items-center
|
class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center
|
||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md"
|
border border-gray-400 rounded-lg shadow-lg hover:shadow-md"
|
||||||
>
|
>
|
||||||
<div class="mb-4 flex flex-col justify-center items-center">
|
<div class="mb-4 flex flex-col justify-center items-center">
|
||||||
|
@ -8,7 +8,7 @@ defmodule CanneryWeb.Components.InviteCard do
|
|||||||
|
|
||||||
def invite_card(assigns) do
|
def invite_card(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<div class="px-8 py-4 flex flex-col justify-center items-center space-y-4
|
<div class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4
|
||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md">
|
border border-gray-400 rounded-lg shadow-lg hover:shadow-md">
|
||||||
<h1 class="title text-xl">
|
<h1 class="title text-xl">
|
||||||
<%= @invite.name %>
|
<%= @invite.name %>
|
||||||
|
Loading…
Reference in New Issue
Block a user