From ba33c9e463cdaa12b4804388c4d78614ceccb504 Mon Sep 17 00:00:00 2001 From: "v.lagerev" Date: Thu, 14 May 2026 01:05:21 +0300 Subject: [PATCH] fix(page-nav): hold min-height:0 on scrolling middle and shrink-no on Direct bottom rows so flex pressure no longer squashes them below their NavItem floor --- src/app/components/page/Page.tsx | 7 ++++++- src/app/pages/client/direct/DirectNewChatRow.tsx | 1 + src/app/pages/client/direct/DirectSelfRow.tsx | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/components/page/Page.tsx b/src/app/components/page/Page.tsx index ca923d5e..d4007983 100644 --- a/src/app/components/page/Page.tsx +++ b/src/app/components/page/Page.tsx @@ -384,7 +384,12 @@ export function PageNavContent({ scrollRef?: MutableRefObject; }) { return ( - + // `minHeight: 0` is the canonical flexbox fix for a scroll child inside + // a flex column: without it the Scroll's intrinsic content height pushes + // the wrapper to that height, the column overflows the viewport, and + // every sibling with default `flex-shrink: 1` (header / footer rows) + // gets squashed below its natural height. +