Adjust padding to 2px top / 6px bottom to raise text

More bottom padding pushes text upward in the badge.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
michael 2026-01-27 15:16:49 -06:00
parent ed040efac0
commit 24150ab221

View file

@ -75,7 +75,7 @@ const RagStatusBadge: React.FC<{ status: RagStatus }> = ({ status }) => {
}
return (
<span style={{ backgroundColor: bgColor, borderRadius: '9999px', display: 'inline-block', minWidth: '50px', paddingLeft: '12px', paddingRight: '12px', paddingTop: '4px', paddingBottom: '4px', textAlign: 'center', color: textColor, fontSize: '12px', fontWeight: 'bold', border: '2px solid blue' }}>
<span style={{ backgroundColor: bgColor, borderRadius: '9999px', display: 'inline-block', minWidth: '50px', paddingLeft: '12px', paddingRight: '12px', paddingTop: '2px', paddingBottom: '6px', textAlign: 'center', color: textColor, fontSize: '12px', fontWeight: 'bold', border: '2px solid blue' }}>
{status}
</span>
);