center form component titles

This commit is contained in:
shibao 2022-02-05 00:09:22 -05:00
parent c75816a582
commit 8479e420fe
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ defmodule CanneryWeb.AmmoTypeLive.FormComponent do
def render(assigns) do
~H"""
<div>
<h2 class="title text-xl text-primary-500">
<h2 class="text-center title text-xl text-primary-500">
<%= @title %>
</h2>
<.form

View File

@ -35,7 +35,7 @@ defmodule CanneryWeb.ContainerLive.FormComponent do
def render(assigns) do
~H"""
<div>
<h2 class="title text-xl text-primary-500">
<h2 class="text-center title text-xl text-primary-500">
<%= @title %>
</h2>
<.form

View File

@ -36,7 +36,7 @@ defmodule CanneryWeb.InviteLive.FormComponent do
def render(assigns) do
~H"""
<div>
<h2 class="title text-xl text-primary-500">
<h2 class="text-center title text-xl text-primary-500">
<%= @title %>
</h2>
<.form