Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

make drag and drop area more obvious

Abi Rajaa178e316c4af
diff --git a/frontend/src/components/ImageUpload.tsx b/frontend/src/components/ImageUpload.tsx
index 4a46d99e..d3972ca9 100644
--- a/frontend/src/components/ImageUpload.tsx
+++ b/frontend/src/components/ImageUpload.tsx
@@ -140,7 +140,10 @@ function ImageUpload({ setReferenceImages }: Props) {
{/* eslint-disable-next-line @typescript-eslint/no-explicit-any */}
<div {...getRootProps({ style: style as any })}>
<input {...getInputProps()} />
- <p>Drop a screenshot here, paste from clipboard, or click to select</p>
+ <p className="text-slate-700 font-bold">
+ Drag & drop a screenshot here, or paste from clipboard, or click to
+ upload
+ </p>
</div>
</section>
);