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
|
def render(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<div>
|
<div>
|
||||||
<h2 class="title text-xl text-primary-500">
|
<h2 class="text-center title text-xl text-primary-500">
|
||||||
<%= @title %>
|
<%= @title %>
|
||||||
</h2>
|
</h2>
|
||||||
<.form
|
<.form
|
||||||
|
@ -35,7 +35,7 @@ defmodule CanneryWeb.ContainerLive.FormComponent do
|
|||||||
def render(assigns) do
|
def render(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<div>
|
<div>
|
||||||
<h2 class="title text-xl text-primary-500">
|
<h2 class="text-center title text-xl text-primary-500">
|
||||||
<%= @title %>
|
<%= @title %>
|
||||||
</h2>
|
</h2>
|
||||||
<.form
|
<.form
|
||||||
|
@ -36,7 +36,7 @@ defmodule CanneryWeb.InviteLive.FormComponent do
|
|||||||
def render(assigns) do
|
def render(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<div>
|
<div>
|
||||||
<h2 class="title text-xl text-primary-500">
|
<h2 class="text-center title text-xl text-primary-500">
|
||||||
<%= @title %>
|
<%= @title %>
|
||||||
</h2>
|
</h2>
|
||||||
<.form
|
<.form
|
||||||
|
Loading…
Reference in New Issue
Block a user