mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 21:48:58 +08:00
Fix: style of check list in dark mode (#19744)
This commit is contained in:
parent
937d151187
commit
71704a713b
@ -14,8 +14,8 @@ const SuggestedAction = ({ icon, link, disabled, children, className, ...props }
|
|||||||
target='_blank'
|
target='_blank'
|
||||||
rel='noreferrer'
|
rel='noreferrer'
|
||||||
className={classNames(
|
className={classNames(
|
||||||
'flex justify-start items-center gap-2 py-2 px-2.5 bg-background-section-burn rounded-lg transition-colors [&:not(:first-child)]:mt-1',
|
'flex justify-start items-center gap-2 py-2 px-2.5 bg-background-section-burn text-text-secondary rounded-lg transition-colors [&:not(:first-child)]:mt-1',
|
||||||
disabled ? 'shadow-xs opacity-30 cursor-not-allowed' : 'text-text-secondary hover:bg-state-accent-hover hover:text-text-accent cursor-pointer',
|
disabled ? 'shadow-xs opacity-30 cursor-not-allowed' : 'hover:bg-state-accent-hover hover:text-text-accent cursor-pointer',
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
@ -142,8 +142,8 @@ const WorkflowChecklist = ({
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
node.varErrorMessage?.map((errorMessage: string) => (
|
node.varErrorMessage?.map((errorMessage: string) => (
|
||||||
<div className='rounded-b-lg bg-gray-25 px-3 py-2'>
|
<div className='rounded-b-lg px-3 py-2'>
|
||||||
<div className='flex text-xs leading-[18px] text-gray-500'>
|
<div className='flex text-xs leading-[18px] text-text-tertiary'>
|
||||||
<AlertTriangle className='mr-2 mt-[3px] h-3 w-3 text-[#F79009]' />
|
<AlertTriangle className='mr-2 mt-[3px] h-3 w-3 text-[#F79009]' />
|
||||||
{errorMessage}
|
{errorMessage}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user