fix: resolve document title inconsistency (#452)

This commit is contained in:
David Nguyen
2023-09-28 13:56:22 +10:00
committed by Mythie
parent e09c076241
commit 48f4289c09
3 changed files with 3 additions and 6 deletions

View File

@ -65,10 +65,7 @@ export default async function DocumentPage({ params }: DocumentPageProps) {
Documents
</Link>
<h1
className="mt-4 max-w-xs truncate text-2xl font-semibold md:text-3xl"
title={document.title}
>
<h1 className="mt-4 truncate text-2xl font-semibold md:text-3xl" title={document.title}>
{document.title}
</h1>