Fixed bug with lenght of title
This commit is contained in:
parent
c8a2104dae
commit
324eb7c366
|
@ -220,7 +220,7 @@ export default function AppLayout(props: AppLayoutProps): JSX.Element {
|
||||||
</span>
|
</span>
|
||||||
<p
|
<p
|
||||||
className={`font-black font-headers text-center overflow-hidden ${
|
className={`font-black font-headers text-center overflow-hidden ${
|
||||||
props.navTitle.length > 30
|
props.navTitle?.length > 30
|
||||||
? "text-xl max-h-14"
|
? "text-xl max-h-14"
|
||||||
: "text-2xl max-h-16"
|
: "text-2xl max-h-16"
|
||||||
}`}
|
}`}
|
||||||
|
|
Loading…
Reference in New Issue