mirror of
https://github.com/langgenius/dify.git
synced 2026-07-26 06:08:38 +08:00
fix(web): adjust snippets input count badge color (#38386)
This commit is contained in:
parent
91cc50371b
commit
d3ed533716
@ -51,7 +51,7 @@ export function SnippetCollapsedPreview({
|
||||
)}
|
||||
<div
|
||||
className={cn(
|
||||
'mt-4 flex min-w-6 items-center justify-center rounded-full bg-background-default-subtle px-2 text-2xs leading-4 font-normal text-text-tertiary',
|
||||
'mt-4 flex min-w-6 items-center justify-center rounded-full border border-divider-subtle bg-components-badge-bg-gray-soft px-2 text-2xs leading-4 font-normal text-text-secondary',
|
||||
inputFieldCount > 99 ? 'h-5' : 'size-5',
|
||||
)}
|
||||
aria-label={`${inputFieldCount} ${t('inputVariables', { ns: 'snippet' })}`}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user