Skip to content

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

Python

Move import drop hint into header

Abi Rajae22f26eadf9f
diff --git a/frontend/src/components/unified-input/tabs/ImportTab.tsx b/frontend/src/components/unified-input/tabs/ImportTab.tsx
index ef1a625c..c603eaa4 100644
--- a/frontend/src/components/unified-input/tabs/ImportTab.tsx
+++ b/frontend/src/components/unified-input/tabs/ImportTab.tsx
@@ -85,6 +85,9 @@ function ImportTab({ importFromCode }: Props) {
<div className="text-center">
<h3 className="text-gray-700 font-medium">Import Existing Code</h3>
+ <span className="inline-flex items-center rounded-full bg-gray-100 px-2 py-0.5 text-xs text-gray-500 mt-2">
+ Drop a .html file to import
+ </span>
</div>
</div>
@@ -106,7 +109,6 @@ function ImportTab({ importFromCode }: Props) {
placeholder="Paste your HTML code here..."
/>
</div>
- <p className="text-xs text-gray-400">Tip: drop a .html file here.</p>
<OutputSettingsSection
stack={stack}