From fd401a46bb2f6a237a6516d9fef0a681e25631ae Mon Sep 17 00:00:00 2001 From: Chad Miller Date: Fri, 21 Aug 2026 10:07:32 -0700 Subject: [PATCH 01/13] fix(account-ui): the section rail scrolls The rail laid its sections out in a column that grew past the viewport, and a window shorter than the list cut off everything below the fold. The nav is now the scrolling region: `min-h-0` lets it shrink under `flex-1`, which a flex child's `min-height: auto` otherwise prevents, and `overflow-y-auto` gives the links their own scrollbar. The account header and the sign-out take `shrink-0` so they hold their place, and a rule above the sign-out marks where the scrolling list ends. Co-Authored-By: Claude Opus 5 (1M context) --- .changeset/sidebar-scrolls.md | 7 +++++++ packages/account-ui/src/components/organisms/sidebar.jsx | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 .changeset/sidebar-scrolls.md diff --git a/.changeset/sidebar-scrolls.md b/.changeset/sidebar-scrolls.md new file mode 100644 index 0000000..43ff7a9 --- /dev/null +++ b/.changeset/sidebar-scrolls.md @@ -0,0 +1,7 @@ +--- +'@pdsjs/core': patch +--- + +The account rail scrolls its section list. A short window no longer cuts off +the sections below the fold: the links scroll on their own while the account +header and the sign-out hold their place at the top and bottom. diff --git a/packages/account-ui/src/components/organisms/sidebar.jsx b/packages/account-ui/src/components/organisms/sidebar.jsx index 4e3c1bb..c71aa8a 100644 --- a/packages/account-ui/src/components/organisms/sidebar.jsx +++ b/packages/account-ui/src/components/organisms/sidebar.jsx @@ -24,7 +24,7 @@ export function Sidebar({ const rail = (
-
+
-