fix: text center in post modal
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user