1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Center align description on trust backend

This commit is contained in:
Jip Fr 2023-12-14 21:18:02 +01:00
parent 46f2da3c45
commit 21656e6606

View file

@ -42,7 +42,9 @@ export function TrustBackendPart(props: TrustBackendPartProps) {
cardContent = (
<>
<h3 className="text-white font-bold text-lg">{result.value.name}</h3>
{result.value.description ? <p>{result.value.description}</p> : null}
{result.value.description ? (
<p className="text-center">{result.value.description}</p>
) : null}
</>
);