diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 18f711d..e9fec3e 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -57,7 +57,7 @@ kbd { /* ── Layout ─────────────────────────────────────────────────────── */ .app { display: grid; - grid-template-rows: auto 1fr; + grid-template-rows: 1fr; height: 100dvh; } @@ -4467,13 +4467,18 @@ table.board { color: var(--text); } -/* ── Top bar: floating like the parts bar, across the whole width ─ */ +/* ── Top bar: floating over the canvas like the parts bar, across its width ─ */ .top-dock { - position: relative; + position: absolute; + top: 10px; + left: 12px; + right: 12px; z-index: 30; - padding: 8px 8px 6px; - background: var(--bg); - border-bottom: 1px solid var(--border); + pointer-events: none; +} + +.top-dock > * { + pointer-events: auto; } .top-bar { diff --git a/app/components/editor/App.vue b/app/components/editor/App.vue index dfad982..c3a8c72 100644 --- a/app/components/editor/App.vue +++ b/app/components/editor/App.vue @@ -35,11 +35,11 @@ watch(