fix spacing and optional tag

This commit is contained in:
waleed
2026-02-12 12:05:49 -08:00
parent 837a13ec4f
commit 54ed579dbd
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ export function ParameterWithLabel({
{title}
{isRequired && visibility === 'user-only' && <span className='ml-0.5'>*</span>}
{visibility !== 'user-only' && (
<span className='-ml-[3px] text-[12px] font-normal text-[var(--text-tertiary)]'>
<span className='-ml-[3px] font-normal text-[12px] text-[var(--text-tertiary)]'>
(optional)
</span>
)}

View File

@@ -84,7 +84,7 @@ export function ToolSubBlockRenderer({
const labelSuffix = useMemo(
() =>
isOptionalForUser ? (
<span className='-ml-[3px] text-[12px] font-normal text-[var(--text-tertiary)]'>
<span className='-ml-[3px] font-normal text-[12px] text-[var(--text-tertiary)]'>
(optional)
</span>
) : null,