Spaces:
Running
Running
fix: center loading state in explore view
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ui/src/components/ExploreView.jsx
CHANGED
|
@@ -543,7 +543,7 @@ export default function ExploreView({ repo, onAskAbout, onRegenerateRef }) {
|
|
| 543 |
const pct = loadStage ? Math.round(loadStage.progress * 100) : 0;
|
| 544 |
const label = loadStage?.message || "Building your guided tour…";
|
| 545 |
return (
|
| 546 |
-
<div className="ec-loading" style={{ flexDirection: "column", alignItems: "stretch", gap: 16, maxWidth: 480 }}>
|
| 547 |
{/* Progress row */}
|
| 548 |
<div style={{ display: "flex", alignItems: "center", gap: 12 }}>
|
| 549 |
<span className="spinner" />
|
|
|
|
| 543 |
const pct = loadStage ? Math.round(loadStage.progress * 100) : 0;
|
| 544 |
const label = loadStage?.message || "Building your guided tour…";
|
| 545 |
return (
|
| 546 |
+
<div className="ec-loading" style={{ flexDirection: "column", alignItems: "stretch", gap: 16, maxWidth: 480, margin: "auto" }}>
|
| 547 |
{/* Progress row */}
|
| 548 |
<div style={{ display: "flex", alignItems: "center", gap: 12 }}>
|
| 549 |
<span className="spinner" />
|