fix: make tab panels immediate on mobile
This commit is contained in:
+14
-10
@@ -718,6 +718,18 @@ function App() {
|
|||||||
))}
|
))}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<aside className="secondary-nav card" aria-label="Secondary tools">
|
||||||
|
<div>
|
||||||
|
<span className="eyebrow">Local-first cockpit</span>
|
||||||
|
<p>Appwrite sync is infrastructure. Planning still belongs in the four v0.1 tabs.</p>
|
||||||
|
</div>
|
||||||
|
<button type="button" className={activeTab === 'status' ? 'ghost small active-secondary' : 'ghost small'} onClick={() => setActiveTab('status')}>
|
||||||
|
System Status
|
||||||
|
</button>
|
||||||
|
</aside>
|
||||||
|
|
||||||
|
{activeTab === 'feature-plan' && (
|
||||||
|
<>
|
||||||
<header className="hero-card">
|
<header className="hero-card">
|
||||||
<div>
|
<div>
|
||||||
<p className="eyebrow">BuildPulse v0.1</p>
|
<p className="eyebrow">BuildPulse v0.1</p>
|
||||||
@@ -743,16 +755,6 @@ function App() {
|
|||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<aside className="secondary-nav card" aria-label="Secondary tools">
|
|
||||||
<div>
|
|
||||||
<span className="eyebrow">Local-first cockpit</span>
|
|
||||||
<p>Appwrite sync is infrastructure. Planning still belongs in the four v0.1 tabs.</p>
|
|
||||||
</div>
|
|
||||||
<button type="button" className={activeTab === 'status' ? 'ghost small active-secondary' : 'ghost small'} onClick={() => setActiveTab('status')}>
|
|
||||||
System Status
|
|
||||||
</button>
|
|
||||||
</aside>
|
|
||||||
|
|
||||||
<section className="project-card card">
|
<section className="project-card card">
|
||||||
<div className="section-heading compact">
|
<div className="section-heading compact">
|
||||||
<div>
|
<div>
|
||||||
@@ -805,6 +807,8 @@ function App() {
|
|||||||
Export
|
Export
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
|
||||||
{activeTab === 'status' && (
|
{activeTab === 'status' && (
|
||||||
<section className="view-stack">
|
<section className="view-stack">
|
||||||
|
|||||||
Reference in New Issue
Block a user