Center button text

This commit is contained in:
MartinBraquet
2026-01-16 14:53:05 +01:00
parent cf6989fcd7
commit 635538b640

View File

@@ -16,8 +16,10 @@ export const GeneralButton = (props: {
target={url.startsWith('http') ? '_blank' : undefined}
rel={url.startsWith('http') ? 'noopener noreferrer' : undefined}
>
<div className="flex items-center justify-center w-full h-full">
{content}
<div className="flex items-center justify-center w-full h-full flex-col text-center">
<div className="flex items-center justify-center">
{content}
</div>
</div>
</Link>
</div>