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 ─────────────────────────────────────────────────────── */
.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 {

View File

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