forked from shibao/cannery
fix user card confirmation time spacing
This commit is contained in:
parent
e6285c282b
commit
08c9cddc78
@ -1,6 +1,7 @@
|
|||||||
# v0.2.1
|
# v0.2.1
|
||||||
- Fix checkbox spacing for mobile view
|
- Fix checkbox spacing for mobile view
|
||||||
- Fix spacing with form elements in mobile view
|
- Fix spacing with form elements in mobile view
|
||||||
|
- Fix user card spacing
|
||||||
|
|
||||||
# v0.2.0
|
# v0.2.0
|
||||||
- Add or remove tags from containers list and details page
|
- Add or remove tags from containers list and details page
|
||||||
|
@ -9,7 +9,7 @@ defmodule CanneryWeb.Components.UserCard do
|
|||||||
~H"""
|
~H"""
|
||||||
<div
|
<div
|
||||||
id={"user-#{@user.id}"}
|
id={"user-#{@user.id}"}
|
||||||
class="mx-4 my-2 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 text-center
|
||||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
border border-gray-400 rounded-lg shadow-lg hover:shadow-md
|
||||||
transition-all duration-300 ease-in-out"
|
transition-all duration-300 ease-in-out"
|
||||||
>
|
>
|
||||||
@ -21,7 +21,8 @@ defmodule CanneryWeb.Components.UserCard do
|
|||||||
<%= if @user.confirmed_at |> is_nil() do %>
|
<%= if @user.confirmed_at |> is_nil() do %>
|
||||||
Email unconfirmed
|
Email unconfirmed
|
||||||
<% else %>
|
<% else %>
|
||||||
User was confirmed at<%= @user.confirmed_at |> display_datetime() %>
|
<p>User was confirmed at</p>
|
||||||
|
<%= @user.confirmed_at |> display_datetime() %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user