mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
Chore: frontend infrastructure upgrade (#16420)
Co-authored-by: NFish <douxc512@gmail.com> Co-authored-by: zxhlyh <jasonapring2015@outlook.com> Co-authored-by: twwu <twwu@dify.ai> Co-authored-by: jZonG <jzongcode@gmail.com>
This commit is contained in:
@@ -101,8 +101,8 @@ const ImageInput: FC<UploaderProps> = ({
|
||||
{
|
||||
!inputImage
|
||||
? <>
|
||||
<ImagePlus className="w-[30px] h-[30px] mb-3 pointer-events-none" />
|
||||
<div className="text-sm font-medium mb-[2px]">
|
||||
<ImagePlus className="pointer-events-none mb-3 h-[30px] w-[30px]" />
|
||||
<div className="mb-[2px] text-sm font-medium">
|
||||
<span className="pointer-events-none">Drop your image here, or </span>
|
||||
<button className="text-components-button-primary-bg" onClick={() => inputRef.current?.click()}>browse</button>
|
||||
<input
|
||||
@@ -112,7 +112,7 @@ const ImageInput: FC<UploaderProps> = ({
|
||||
onChange={handleLocalFileInput}
|
||||
/>
|
||||
</div>
|
||||
<div className="text-xs pointer-events-none">Supports PNG, JPG, JPEG, WEBP and GIF</div>
|
||||
<div className="pointer-events-none text-xs">Supports PNG, JPG, JPEG, WEBP and GIF</div>
|
||||
</>
|
||||
: handleShowImage()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user