mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 12:39:02 +08:00
fix: emoji picker in dark mode (#20019)
This commit is contained in:
parent
36b321735e
commit
a0ebbaa840
@ -94,7 +94,7 @@ const ImageInput: FC<UploaderProps> = ({
|
|||||||
<div
|
<div
|
||||||
className={classNames(
|
className={classNames(
|
||||||
isDragActive && 'border-primary-600',
|
isDragActive && 'border-primary-600',
|
||||||
'relative aspect-square bg-gray-50 border-[1.5px] border-gray-200 border-dashed rounded-lg flex flex-col justify-center items-center text-gray-500')}
|
'relative aspect-square border-[1.5px] border-dashed rounded-lg flex flex-col justify-center items-center text-gray-500')}
|
||||||
onDragEnter={handleDragEnter}
|
onDragEnter={handleDragEnter}
|
||||||
onDragOver={handleDragOver}
|
onDragOver={handleDragOver}
|
||||||
onDragLeave={handleDragLeave}
|
onDragLeave={handleDragLeave}
|
||||||
|
@ -115,7 +115,7 @@ const AppIconPicker: FC<AppIconPickerProps> = ({
|
|||||||
className={cn(s.container, '!w-[362px] !p-0')}
|
className={cn(s.container, '!w-[362px] !p-0')}
|
||||||
>
|
>
|
||||||
{!DISABLE_UPLOAD_IMAGE_AS_ICON && <div className="w-full p-2 pb-0">
|
{!DISABLE_UPLOAD_IMAGE_AS_ICON && <div className="w-full p-2 pb-0">
|
||||||
<div className='flex items-center justify-center gap-2 rounded-xl bg-background-body p-1'>
|
<div className='flex items-center justify-center gap-2 rounded-xl bg-background-body p-1 text-text-primary'>
|
||||||
{tabs.map(tab => (
|
{tabs.map(tab => (
|
||||||
<button
|
<button
|
||||||
key={tab.key}
|
key={tab.key}
|
||||||
|
@ -4,9 +4,6 @@
|
|||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
width: 362px;
|
width: 362px;
|
||||||
max-height: 552px;
|
max-height: 552px;
|
||||||
|
|
||||||
border: 0.5px solid #EAECF0;
|
|
||||||
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
background: #fff;
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user