@@ -103,7 +103,6 @@ export default function CustomPromptCard({
103103 baseImageUrl,
104104 productAnalysis,
105105 customPrompt : customPrompt . trim ( ) ,
106- size : "1024x1792" ,
107106 } ) ;
108107
109108 if ( result . success ) {
@@ -135,7 +134,6 @@ export default function CustomPromptCard({
135134 baseImageUrl,
136135 productAnalysis,
137136 customPrompt : customPrompt . trim ( ) ,
138- size : "1024x1792" ,
139137 } ) ;
140138
141139 if ( result . success ) {
@@ -245,16 +243,6 @@ export default function CustomPromptCard({
245243 >
246244 < Download className = "h-4 w-4" />
247245 </ Button >
248- < Button
249- size = "sm"
250- variant = "secondary"
251- className = "w-8 h-8 rounded-full p-0 backdrop-blur-sm bg-white/90 hover:bg-white"
252- onClick = { handleReset }
253- disabled = { isRegenerating && isGenerating }
254- title = "Create new image"
255- >
256- < RotateCcw className = "h-4 w-4" />
257- </ Button >
258246 </ div >
259247 { /* Title overlay */ }
260248 < div className = "absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-3" >
@@ -268,10 +256,10 @@ export default function CustomPromptCard({
268256 < div className = "h-full flex flex-col p-4" >
269257 < div className = "flex-1 flex flex-col justify-center" >
270258 < form onSubmit = { handleSubmit } className = "space-y-4" >
271- < div >
259+ < div className = "flex flex-col gap-2 items-center" >
272260 < label
273261 htmlFor = "custom-prompt"
274- className = "block text-sm font-medium text-foreground mb-4 "
262+ className = "block text-sm font-medium text-foreground mb-2 "
275263 >
276264 Add another product shot
277265 </ label >
@@ -281,7 +269,7 @@ export default function CustomPromptCard({
281269 value = { customPrompt }
282270 onChange = { ( e ) => setCustomPrompt ( e . target . value ) }
283271 disabled = { isGenerating }
284- className = "w-full h-20 px -3 text-sm border border-input bg-transparent rounded-md shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 resize-none"
272+ className = "w-full h-48 p -3 text-sm border border-input bg-transparent rounded-md shadow-sm transition-colors placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 resize-none"
285273 rows = { 3 }
286274 autoFocus
287275 />
0 commit comments