fix: replace flex-shrink-0 with shrink-0 for consistent styling across components

This commit is contained in:
GitHub Actions
2026-03-09 20:03:57 +00:00
parent 82a55da026
commit 542d4ff3ee
21 changed files with 2977 additions and 35 deletions

View File

@@ -87,7 +87,7 @@ export function SecurityScoreDisplay({
<Card className="p-4">
<div className="flex items-start gap-4">
{/* Circular Score Display */}
<div className="flex-shrink-0">
<div className="shrink-0">
<div
className={`${sizeClasses[size]} rounded-full ${getScoreBgColor()} flex flex-col items-center justify-center font-bold ${getScoreColor()}`}
>
@@ -177,7 +177,7 @@ export function SecurityScoreDisplay({
<ul className="mt-3 space-y-2 pl-6">
{suggestions.map((suggestion, index) => (
<li key={index} className="flex items-start gap-2 text-sm text-gray-600 dark:text-gray-400">
<AlertCircle className="w-4 h-4 text-yellow-500 flex-shrink-0 mt-0.5" />
<AlertCircle className="w-4 h-4 text-yellow-500 shrink-0 mt-0.5" />
<span>{suggestion}</span>
</li>
))}