fix header: center text

This commit is contained in:
vchikalkin 2025-02-13 18:30:49 +03:00
parent 7460ef0a84
commit e22363d167

View File

@ -1,5 +1,7 @@
type Props = { readonly title: string | undefined };
export function PageTitle(props: Readonly<Props>) {
return <span className="h-8 text-lg font-bold tracking-wide">{props?.title}</span>;
return (
<span className="flex h-8 items-center text-lg font-bold tracking-wide">{props?.title}</span>
);
}