File tree Expand file tree Collapse file tree
product-image-generator/app/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -248,7 +248,13 @@ export default function GeneratedCard({
248248 ) : (
249249 // Show loading/waiting state
250250 < div className = "h-full flex flex-col items-center justify-center p-6 text-center" >
251- < div className = "w-12 h-12 rounded-lg bg-gray-300/20 flex items-center justify-center mb-4" >
251+ < div
252+ className = { `w-12 h-12 rounded-lg flex items-center justify-center mb-4 ${
253+ isTaskRunning && generationProgress === "generating"
254+ ? ""
255+ : "bg-gray-300/20"
256+ } `}
257+ >
252258 { isTaskRunning && generationProgress === "generating" ? (
253259 < div className = "animate-spin h-6 w-6" >
254260 < Loader2 className = "h-6 w-6 text-gray-500" />
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ export default function UploadCard({
186186 ) : isUploading || isLoading || run ?. id || progress ? (
187187 // Show progress state when loading or run exists
188188 < div className = "h-full flex flex-col items-center justify-center p-6 text-center" >
189- < div className = "w-8 h-8 rounded-full flex items-center justify-center mb-4 transition-colors " >
189+ < div className = "w-8 h-8 rounded-full flex items-center justify-center mb-4" >
190190 < div className = "animate-spin rounded-full h-6 w-6" >
191191 < LucideLoader className = "h-6 w-6 text-gray-500" />
192192 </ div >
You can’t perform that action at this time.
0 commit comments