Fixed bug with lenght of title

This commit is contained in:
DrMint 2022-03-30 00:15:23 +02:00
parent c8a2104dae
commit 324eb7c366
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ export default function AppLayout(props: AppLayoutProps): JSX.Element {
</span>
<p
className={`font-black font-headers text-center overflow-hidden ${
props.navTitle.length > 30
props.navTitle?.length > 30
? "text-xl max-h-14"
: "text-2xl max-h-16"
}`}