fix: text center in post modal
This commit is contained in:
parent
8c382bdbe3
commit
024cb172bf
|
|
@ -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>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in New Issue