Skip to content

Commit 1af897e

Browse files
committed
Center page title
1 parent ecf90b0 commit 1af897e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/Header/PageTitle.component.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ const PageTitle = ({ title, marginleft }) => {
33
<>
44
{marginleft ? (
55
<section className="container pl-8 mx-auto mt-24 text-center bg-white">
6-
<span className="py-2 text-xl font-bold tracking-wide text-gray-800 no-underline uppercase hover:no-underline">
6+
<span className="py-2 text-xl font-bold tracking-wide text-center text-gray-800 no-underline uppercase hover:no-underline">
77
{title}
88
</span>
99
</section>
1010
) : (
1111
<section className="container pl-4 mx-auto mt-24 text-center bg-white">
12-
<span className="py-2 text-xl font-bold tracking-wide text-gray-800 no-underline uppercase hover:no-underline">
12+
<span className="py-2 text-xl font-bold tracking-wide text-center text-gray-800 no-underline uppercase hover:no-underline">
1313
{title}
1414
</span>
1515
</section>

0 commit comments

Comments
 (0)