mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-12 23:45:07 -05:00
fix spacing and optional tag
This commit is contained in:
@@ -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>
|
||||
)}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user