fix(layout): scroll body content on static pages so long lists are reachable #46

Merged
nrupard merged 1 commit from fix/scrollable-static-pages into main 2026-05-06 17:37:44 +02:00
Owner
  • Static-content pages (enclave landing/settings, discover, home, invitations, settings) wrapped their content in a <section> that did not scroll. Long member or invitation lists overflowed <main> (which is overflow-hidden to keep room/DM panes from scrolling the page) and the rows below the fold were unreachable.
  • Mark each of those root sections flex-1 overflow-y-auto so they scroll within <main>. Pin <main> itself to min-h-0 as well; without it flex-1 children with internal overflow can push the parent past 100% height in some browsers, undoing the new scroll containers.
  • Also pick up rustfmt's pending formatting cleanup on db_search.rs. The merge that landed those tests did not run rustfmt and cargo fmt --check was failing on this branch.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

- Static-content pages (enclave landing/settings, discover, home, invitations, settings) wrapped their content in a `<section>` that did not scroll. Long member or invitation lists overflowed `<main>` (which is `overflow-hidden` to keep room/DM panes from scrolling the page) and the rows below the fold were unreachable. - Mark each of those root sections `flex-1 overflow-y-auto` so they scroll within `<main>`. Pin `<main>` itself to `min-h-0` as well; without it `flex-1` children with internal overflow can push the parent past `100%` height in some browsers, undoing the new scroll containers. - Also pick up rustfmt's pending formatting cleanup on `db_search.rs`. The merge that landed those tests did not run rustfmt and `cargo fmt --check` was failing on this branch. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Static-content pages (enclave landing/settings, discover, home, invitations, settings) wrapped their content in a `<section>` that did not scroll. Long member or invitation lists overflowed `<main>` (which is `overflow-hidden` to keep room/DM panes from scrolling the page) and the rows below the fold were unreachable.
- Mark each of those root sections `flex-1 overflow-y-auto` so they scroll within `<main>`. Pin `<main>` itself to `min-h-0` as well; without it `flex-1` children with internal overflow can push the parent past `100%` height in some browsers, undoing the new scroll containers.
- Also pick up rustfmt's pending formatting cleanup on `db_search.rs`. The merge that landed those tests did not run rustfmt and `cargo fmt --check` was failing on this branch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
nrupard deleted branch fix/scrollable-static-pages 2026-05-06 17:37:45 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/lets-chat!46
No description provided.