fix: text center in post modal

This commit is contained in:
DIYgod 2023-07-18 02:23:35 +01:00
parent 8c382bdbe3
commit 024cb172bf
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -71,11 +71,11 @@ export default async function SiteModal({
<article>
<div>
{page?.metadata?.content?.tags?.includes("post") ? (
<h2 className="xlog-post-title text-4xl font-bold leading-tight">
<h2 className="xlog-post-title text-4xl font-bold leading-tight text-center">
{page.metadata?.content?.title}
</h2>
) : (
<h2 className="xlog-post-title text-xl font-bold page-title">
<h2 className="xlog-post-title text-xl font-bold page-title text-center">
{page?.metadata?.content?.title}
</h2>
)}