mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-30 06:55:11 +08:00
Fix: model selector UI hover issue (#13396)
This commit is contained in:
parent
c189629eca
commit
c3c575c2e1
@ -45,9 +45,9 @@ const Trigger: FC<TriggerProps> = ({
|
|||||||
<div
|
<div
|
||||||
className={cn(
|
className={cn(
|
||||||
'relative flex items-center px-2 h-8 rounded-lg cursor-pointer',
|
'relative flex items-center px-2 h-8 rounded-lg cursor-pointer',
|
||||||
!isInWorkflow && 'border hover:border-[1.5px]',
|
!isInWorkflow && 'border ring-inset hover:ring-[0.5px]',
|
||||||
!isInWorkflow && (disabled ? 'border-[#F79009] bg-[#FFFAEB]' : 'border-[#444CE7] bg-primary-50'),
|
!isInWorkflow && (disabled ? 'border-text-warning ring-text-warning bg-state-warning-hover' : 'border-util-colors-indigo-indigo-600 ring-util-colors-indigo-indigo-600 bg-state-accent-hover'),
|
||||||
isInWorkflow && 'pr-[30px] bg-gray-100 border border-gray-100 hover:border-gray-200',
|
isInWorkflow && 'pr-[30px] bg-workflow-block-parma-bg border border-workflow-block-parma-bg hover:border-gray-200',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user