forked from unimatrix/web
Keep full Staff and User sidebar menus in normal page flow
This commit is contained in:
parent
c91a1a14f3
commit
411324e4c0
3 changed files with 14 additions and 1 deletions
|
|
@ -40,3 +40,5 @@
|
|||
- Preserve real voting, banking and item-issuance boundaries. Public presentation must not expose serialized items, signatures or service credentials.
|
||||
- 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.
|
||||
|
|
|
|||
11
website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md
Normal file
11
website/docs/FULL-WORKSPACE-SIDEBAR-20261129.md
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# 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.
|
||||
|
||||
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.
|
||||
|
||||
Validation: full asset build and12 shared-chrome tests passed locally. A browser fixture loaded actual CP v2 CSS plus the exact generated shared stylesheet and80 links. At1280px sidebar clientHeight=scrollHeight=1147, overflow=visible,maxHeight=none,position=static; clicking final link scrolled the PAGE475px while sidebar scrollTop remained0. At390px height=scrollHeight=797; final link reachable with pageScroll88 and sidebarScroll0. Test fixture/server remain outside the product/repository and are not published.
|
||||
|
||||
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.
|
||||
|
|
@ -68,7 +68,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) button{padding:10px 15px;min-height:44px;border:1px solid #8e7945;background:#17362b;color:#eadbb1;font-size:14px;font-family:var(--dr-font);box-shadow:none}
|
||||
.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:sticky;top:20px;align-self:start;max-height:calc(100vh - 40px);overflow:auto}
|
||||
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,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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff