From 71332a1dfac1a21a07089d6c492106219b8d436f Mon Sep 17 00:00:00 2001 From: "Fabian @ Blax Software" Date: Thu, 22 Oct 2026 20:24:52 +0200 Subject: [PATCH] R Top bar floats over the canvas, side panel full height Co-Authored-By: Claude Opus 5.5 --- app/assets/css/main.css | 17 +++++++++++------ app/components/editor/App.vue | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) 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(