umanggarg Claude Sonnet 4.6 commited on
Commit
0b4051e
·
1 Parent(s): 0687a87

fix: center loading state in explore view

Browse files

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. ui/src/components/ExploreView.jsx +1 -1
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" />