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:
parent
ed040efac0
commit
24150ab221
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue