Fix text alignment in Schema Checks (#5328)

This commit is contained in:
Kamil Kisiela 2024-08-09 14:52:50 +02:00 committed by GitHub
parent 3100043bb1
commit 577632b034
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -196,7 +196,9 @@ function ChangeItem(props: {
)}
>
<div className="inline-flex justify-start space-x-2">
<span className="text-gray-600 dark:text-white">{labelize(change.message)}</span>
<span className="text-left text-gray-600 dark:text-white">
{labelize(change.message)}
</span>
{change.isSafeBasedOnUsage && (
<span className="cursor-pointer text-yellow-500">
{' '}

View file

@ -201,7 +201,9 @@ const PolicyBlock = (props: {
key={key}
className={cn(props.type === 'warning' ? 'text-yellow-400' : 'text-red-400', 'my-1')}
>
<span className="text-gray-600 dark:text-white">{labelize(edge.node.message)}</span>
<span className="text-left text-gray-600 dark:text-white">
{labelize(edge.node.message)}
</span>
</li>
))}
</ul>