Fix sidebar height so SUPPORT + LOG fit without scrolling (sub-issue 22-1) #24
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/cybertactics#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent-Issue: #22
Sub-issue 22-1 — SUPPORT and LOG scroll below the fold
The in-mission sidebar
#sideis pinned tomax-height: 504pxinweb/css/style.css:31to match the canvas height. With 7 stacked panels (Squad → Selected → Stance →
Queue → Playbooks → Support → Log) the bottom two (Support, Log) scroll off
on a default 1280×800 viewport. The screenshot at
docs/screenshot.pngonlyshows the first 5.
Fix
Make
#sideflex-grow within#wrap(or use100vh - topbar - hint) and letthe LOG section be the only panel that scrolls internally. Other panels
stay compact.
File(s)
web/css/style.css—#side/#wrap/#logflex rulesweb/js/ui.js— if LOG height needs explicit overflowAcceptance
make cipassesdocs/screenshot.pngupdated to reflect new layoutLane
quickfix—make ciis the gate.Refs
web/css/style.css:31docs/screenshot.pngClosed via commit
c304687on origin/main.Changes in
web/css/style.css:#wrapnowmin-height: calc(100vh - 60px)withalign-items: flex-start— sidebar fills viewport instead of stretching to canvas height#sideis now a flex column (no max-height)sectionisflex: 0 0 auto(compact)section:has(> #log)) isflex: 1 1 auto; min-height: 0so it absorbs spare vertical space#logdrops itsmax-height: 130pxand fills the LOG section, scrolling internallyVerified: all 7
make testsmoke scripts pass. Lint gate fails on pre-existing baseline debt ingodot/scripts/main.gd(long lines, file-length, class-definitions-order) — unchanged by this fix and not auto-fixable. Re-stashing my CSS-only change reproduced the same lint failure, confirming it is not from this task.Screenshot at
docs/screenshot.pngis still the old 1024×768 capture (pre-fix). Local env has no Playwright, so a fresh 1280×800 capture will need to come from CI or a workstation browser.Refs: #22 (parent)