From ce225618137811a97938ed02f1ff9534e1011578 Mon Sep 17 00:00:00 2001 From: itsamejms Date: Mon, 13 Jul 2026 22:13:40 +0100 Subject: [PATCH] minor small screen optimizations --- src/App.jsx | 10 +++++----- src/components/ChordDetailModal.jsx | 10 +++++----- src/components/JamGuide.jsx | 8 ++++---- src/components/TryThis.jsx | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/App.jsx b/src/App.jsx index dff4120..c8978a0 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -589,7 +589,7 @@ export default function App() { } return ( -
+
{/* ── Header ── */}
@@ -628,7 +628,7 @@ export default function App() {
{/* ── Controls bar ── */} -
+
{/* Instrument select */}
@@ -731,7 +731,7 @@ export default function App() { )} {/* ── Jam roulette (L-60, jam-roulette.md §1.1/§1.2) ── */} -
+
{showDebug && ( -
+
{showDrumView ? '▲' : '▼'} {showDrumView && ( -
+
diff --git a/src/components/ChordDetailModal.jsx b/src/components/ChordDetailModal.jsx index 451d316..549f5fc 100644 --- a/src/components/ChordDetailModal.jsx +++ b/src/components/ChordDetailModal.jsx @@ -757,13 +757,13 @@ export default function ChordDetailModal({ chord, onClose, onChordClick, keyInfo return (
{ if (e.target === e.currentTarget) onClose() }} > -
+
{/* Header */} -
+

{chord}

{typeName} chord · tap a voicing to study it

@@ -778,7 +778,7 @@ export default function ChordDetailModal({ chord, onClose, onChordClick, keyInfo
{/* Tab bar */} -
+
{[ { key: 'guitar', label: '🎸 Guitar' }, { key: 'piano', label: '🎹 Piano' }, @@ -800,7 +800,7 @@ export default function ChordDetailModal({ chord, onClose, onChordClick, keyInfo
{/* Content */} -
+
{tab === 'guitar' && } {tab === 'piano' && } {tab === 'theory' && } diff --git a/src/components/JamGuide.jsx b/src/components/JamGuide.jsx index 251598b..ff9fcbe 100644 --- a/src/components/JamGuide.jsx +++ b/src/components/JamGuide.jsx @@ -856,7 +856,7 @@ export function KnowledgeDock({ keyInfo, chordHistory = [], currentChord, onChor
{/* ── Section nav (Knowledge Center pills, D-20 §1) ── */} -
+
{SECTIONS.map(s => { const active = section === s.id return ( @@ -879,7 +879,7 @@ export function KnowledgeDock({ keyInfo, chordHistory = [], currentChord, onChor {/* ── Explore — KB progression browser + famous progressions ── */} {section === 'explore' && ( -
+
+
+
)} diff --git a/src/components/TryThis.jsx b/src/components/TryThis.jsx index 4ef167a..3632bcf 100644 --- a/src/components/TryThis.jsx +++ b/src/components/TryThis.jsx @@ -156,10 +156,10 @@ function SubRow({ sub, instrument, onChordClick }) { const tag = CATEGORY_TAG[sub.category] ?? sub.category return (
{/* Left identity block (~180px) */} -
+