Skip to content

fix: keep the store sidebar within the viewport - #440

Open
OBagnell wants to merge 1 commit into
KarchinLab:masterfrom
OBagnell:fix/store-sidebar-scroll
Open

OBagnell wants to merge 1 commit into
KarchinLab:masterfrom
OBagnell:fix/store-sidebar-scroll

Conversation

@OBagnell

Copy link
Copy Markdown

Fixes #390

The store sidebar starts 63px below the viewport top but previously used the full viewport height, leaving its bottom 63px off-screen even at maximum scroll. Subtract the existing top offset from its height so the final category and suggestion link remain reachable.

Validation: an isolated browser fixture using the actual menu HTML and project styles passed seven cases: six viewports from 1920×1080 to 640×360 with long category lists, plus a short-list case. The original CSS overflowed by 63px; the corrected CSS fits the viewport, with the final category hit-testable and its checkbox selectable. git diff --check passed.

Full application/e2e tests, actual browser zoom and Safari were not run. The fixture uses synthetic categories and does not exercise backend filtering or install modules.

AI assistance: OpenAI Codex helped prepare and validate this change.

Reserve the 63px header offset so all store filters remain reachable.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unscrollable side menu in the OpenCravat web app store

1 participant