|
215 | 215 |
|
216 | 216 | <!-- Right Column: Image Preview --> |
217 | 217 | <div class="flex-grow lg:w-3/4 flex flex-col min-h-0"> |
218 | | - <div class="card p-3 flex flex-col flex-1 min-h-0"> |
219 | | - <h3 class="text-sm font-semibold text-[var(--color-text-primary)] mb-3 flex-shrink-0">Generated Images</h3> |
220 | | - <div class="relative flex-1 min-h-0 overflow-y-auto"> |
221 | | - <!-- Loading Animation --> |
222 | | - <div id="loader" class="hidden absolute inset-0 flex items-center justify-center bg-[var(--color-bg-primary)]/80 rounded-xl z-10"> |
223 | | - <div class="text-center"> |
224 | | - <svg class="animate-spin h-10 w-10 text-[var(--color-primary)] mx-auto mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> |
225 | | - <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle> |
226 | | - <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path> |
227 | | - </svg> |
228 | | - <p class="text-xs text-[var(--color-text-secondary)]">Generating image...</p> |
229 | | - </div> |
230 | | - </div> |
231 | | - <!-- Placeholder when no images --> |
232 | | - <div id="result-placeholder" class="bg-[var(--color-bg-primary)]/50 border border-[#1E293B] rounded-xl p-6 min-h-[400px] flex items-center justify-center flex-shrink-0"> |
233 | | - <p class="text-xs text-[var(--color-text-secondary)] italic text-center">Your generated images will appear here</p> |
| 218 | + <div class="relative flex-1 min-h-0 overflow-y-auto"> |
| 219 | + <!-- Loading Animation --> |
| 220 | + <div id="loader" class="hidden absolute inset-0 flex items-center justify-center bg-[var(--color-bg-primary)]/80 rounded-xl z-10"> |
| 221 | + <div class="text-center"> |
| 222 | + <svg class="animate-spin h-10 w-10 text-[var(--color-primary)] mx-auto mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"> |
| 223 | + <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle> |
| 224 | + <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path> |
| 225 | + </svg> |
| 226 | + <p class="text-xs text-[var(--color-text-secondary)]">Generating image...</p> |
234 | 227 | </div> |
235 | | - <!-- Results container --> |
236 | | - <div id="result" class="space-y-4 pb-4"></div> |
237 | 228 | </div> |
| 229 | + <!-- Placeholder when no images --> |
| 230 | + <div id="result-placeholder" class="min-h-[400px] flex items-center justify-center flex-shrink-0"> |
| 231 | + <p class="text-xs text-[var(--color-text-secondary)] italic text-center">Your generated images will appear here</p> |
| 232 | + </div> |
| 233 | + <!-- Results container --> |
| 234 | + <div id="result" class="grid grid-cols-1 sm:grid-cols-2 gap-4 pb-4"></div> |
238 | 235 | </div> |
239 | 236 | </div> |
240 | 237 | </div> |
|
0 commit comments