Skip to content

Commit 2ef5d00

Browse files
authored
Merge pull request #210 from w3bdesign/development
Center page title
2 parents ea94b9b + 1af897e commit 2ef5d00

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)