From b406b337dbf4fdee67de930ce40c3abc400dddbf Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Sun, 29 Nov 2026 08:30:58 +0100 Subject: [PATCH] Include Bank and right-side workspace menus in full-height layout --- AGENTS.md | 2 +- website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md | 4 +++- website/web/realm-design.css | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index ae25fee5..fdefdb46 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -41,4 +41,4 @@ - Describe what is coded, tested, merged and deployed separately. Mark unavailable features honestly. - The owner requires one shared header and footer across portal, CP and other website surfaces. Use one canonical source and publication path; aligning labels on separate implementations is insufficient. Verify signed-in rendering as well as emitted HTML. -- Workspace left menus (Staff and User CP) must display every menu item in the normal page flow. Never add a viewport height cap, sticky scrolling container or independent scrollbar to `#sidebar`. Scroll the main page; do not hide overflow to conceal unreachable links. Verify this after shared stylesheet publication. +- Workspace menus (Staff, User CP and Bank) must display every menu item in the normal page flow. Never add a viewport height cap, sticky scrolling container or independent scrollbar to `#sidebar` or `#sidebar-right`. Scroll the main page; do not hide overflow to conceal unreachable links. Verify this after shared stylesheet publication. diff --git a/website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md b/website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md index fbfc5b49..23cf6b5a 100644 --- a/website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md +++ b/website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md @@ -1,6 +1,6 @@ # Full workspace left menus — 29 November 2026 -Owner explicitly requires the complete left menu in BOTH Staff and User CP, without a separate scrollbar. Do not reintroduce a viewport height cap or hide links. Scroll the main page. +Owner explicitly requires the complete left menu in Staff, User CP and Bank, including the right-hand sidebar, without a separate scrollbar. Do not reintroduce a viewport height cap or hide links. Scroll the main page. The shared realm-design.css still contained a sticky sidebar with max-height:calc(100vh - 40px) and overflow:auto. Publishing the newer shared stylesheet reintroduced that stale source rule despite the earlier mobile-only correction in v2.css. Replace the rule itself with normal page flow, automatic height, no maximum height and visible overflow. No parallel sidebar implementation, menu items, permissions or navigation routes changed. AGENTS.md now records this product requirement. @@ -9,3 +9,5 @@ Validation: full asset build and12 shared-chrome tests passed locally. A browser Related completed publication: webc91a1a14f333541017514fcab6621024f8d11783 passedCI928/main929 and staged1856tests. Guarded built publisher changed only the verified cookbook /realm-design.css route to follow current/dist/shared-chrome/realm-design.css with a legacy rollback fallback. Route beforeSHA256cd271267991bf6778b866dde9a4bfb7fec431e2d6be6d63dbe5c3188ab0c7c42; after4fc45d536289c708f7649fe2fc44fb5e3aa517f59c4f95a22b7d575bec953da9. Backup:/home/dunerealms/backups/shared-design-route-c91a1a14f333541017514fcab6621024f8d11783/dunerealms-cookbook-e40883ba.conf. Actual servedCSS SHA256c68b897444c60d08e3fc054921587bc42a684bdfe0d7ef29a975dba3f81b38ca matched built bytes. Live Staff/CP menuLeft32 at1920verified. Portal/Staff/CP font all13pxCinzel; owner's font discrepancy was browser zoom and accepted, so fonts unchanged. This sidebar correction remains subject to canonical CI and live verification; do not confuse the preceding route publication with deployment of this source change. + +Owner clarified Bank menu too: the same normal-flow/no-cap/no-nested-scroll geometry now covers #sidebar-right as well as #sidebar. Existing side-specific padding and card artwork are preserved. diff --git a/website/web/realm-design.css b/website/web/realm-design.css index 59fe5436..3450a0ef 100644 --- a/website/web/realm-design.css +++ b/website/web/realm-design.css @@ -69,6 +69,7 @@ body.dr-interior #realm-menu a small{font-size:11px!important} .dr-design :is(.tabs,.cp-v2-template-tabs,.progression-tabs,.politics-tabs,.bank-tabs,.feature-tabs) [aria-selected=true]{background:linear-gradient(#736030,#3a482b);border-color:#e4c26c;color:#fff1ba} body.dr-design.dr-workspace:has(#content) .layout{display:grid!important;grid-template-columns:245px minmax(0,1fr)!important;gap:24px!important;max-width:1440px!important;margin:0 auto!important;padding:24px!important;background:transparent!important;min-height:70vh} body.dr-design.dr-workspace:has(#content) #sidebar{padding:0!important;border:0!important;background:transparent!important;position:static;top:auto;align-self:start;height:auto!important;max-height:none!important;overflow:visible!important} +body.dr-design.dr-workspace:has(#content) #sidebar-right{position:static;top:auto;align-self:start;height:auto!important;max-height:none!important;overflow:visible!important} body.dr-design.dr-workspace:has(#content) #sidebar-right,body.dr-design.dr-workspace:has(#content) .side-hero,body.dr-design.dr-workspace:has(#content) .command-banner{display:none!important} body.dr-design.dr-workspace:has(#content) #content{padding:0!important;border:0!important;background:transparent!important;min-width:0} body.dr-design.dr-workspace:has(#content) #content>.hero{display:flex;gap:22px;min-height:155px!important;padding:24px 30px!important;margin-bottom:24px!important;border:1px solid #b89a52!important;border-radius:6px!important;background:linear-gradient(90deg,#0c2a21ee,#0d2d23ca 60%,#0c291c55),url('https://www.dunerealms.com/assets/minecraft-hero.webp') center 46%/cover!important;box-shadow:inset 0 0 0 3px #0f2c22!important} -- 2.53.0