fix user card confirmation time spacing
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
shibao 2022-02-19 19:54:48 -05:00
parent e6285c282b
commit 08c9cddc78
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# v0.2.1
- Fix checkbox spacing for mobile view
- Fix spacing with form elements in mobile view
- Fix user card spacing
# v0.2.0
- Add or remove tags from containers list and details page

View File

@ -9,7 +9,7 @@ defmodule CanneryWeb.Components.UserCard do
~H"""
<div
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
transition-all duration-300 ease-in-out"
>
@ -21,7 +21,8 @@ defmodule CanneryWeb.Components.UserCard do
<%= if @user.confirmed_at |> is_nil() do %>
Email unconfirmed
<% else %>
User was confirmed at<%= @user.confirmed_at |> display_datetime() %>
<p>User was confirmed at</p>
<%= @user.confirmed_at |> display_datetime() %>
<% end %>
</h3>