center form component titles
This commit is contained in:
parent
c75816a582
commit
8479e420fe
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user