R Top bar floats over the canvas, side panel full height

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Fabian @ Blax Software 2026-10-22 20:24:52 +02:00
parent 6e3405ae0c
commit 71332a1dfa
2 changed files with 12 additions and 7 deletions

View File

@ -57,7 +57,7 @@ kbd {
/* ── Layout ─────────────────────────────────────────────────────── */ /* ── Layout ─────────────────────────────────────────────────────── */
.app { .app {
display: grid; display: grid;
grid-template-rows: auto 1fr; grid-template-rows: 1fr;
height: 100dvh; height: 100dvh;
} }
@ -4467,13 +4467,18 @@ table.board {
color: var(--text); 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 { .top-dock {
position: relative; position: absolute;
top: 10px;
left: 12px;
right: 12px;
z-index: 30; z-index: 30;
padding: 8px 8px 6px; pointer-events: none;
background: var(--bg); }
border-bottom: 1px solid var(--border);
.top-dock > * {
pointer-events: auto;
} }
.top-bar { .top-bar {

View File

@ -35,11 +35,11 @@ watch(
<div class="app"> <div class="app">
<EditorMainMenu v-if="ed.screen.value === 'menu'" /> <EditorMainMenu v-if="ed.screen.value === 'menu'" />
<template v-else> <template v-else>
<EditorToolbar />
<div class="workspace" :class="{ 'no-panel': !ed.sidebars.right }"> <div class="workspace" :class="{ 'no-panel': !ed.sidebars.right }">
<EditorInspector v-if="ed.sidebars.right" /> <EditorInspector v-if="ed.sidebars.right" />
<EditorRail v-else /> <EditorRail v-else />
<main class="stage"> <main class="stage">
<EditorToolbar />
<EditorCanvas /> <EditorCanvas />
<EditorBottomBar /> <EditorBottomBar />
</main> </main>