diff --git a/ui/src/components/StatusRail.tsx b/ui/src/components/StatusRail.tsx index 4ba1a0100..6080f730e 100644 --- a/ui/src/components/StatusRail.tsx +++ b/ui/src/components/StatusRail.tsx @@ -19,11 +19,12 @@ const PANE = 'sticky top-6 max-h-[calc(100vh-11rem)]'; * The list side is padded by what it is pulled out by, so the scroll box does not clip shadows. * Its children must not shrink: `.ss-list` clips its corners with overflow:hidden, which lets a * flex item go below its content height, and it would be squashed instead of scrolled. + * `pageScroll` keeps the list in the page's own scroll, for a page that has more above it. */ -export function RailLayout({ rail, children }: { rail: ReactNode; children: ReactNode }) { +export function RailLayout({ rail, children, pageScroll }: { rail: ReactNode; children: ReactNode; pageScroll?: boolean }) { return (
-
*]:shrink-0`}>{children}
+
*]:shrink-0`}>{children}
); diff --git a/ui/src/components/mcp/MCPProjectView.tsx b/ui/src/components/mcp/MCPProjectView.tsx index 94509a99f..3a2b58857 100644 --- a/ui/src/components/mcp/MCPProjectView.tsx +++ b/ui/src/components/mcp/MCPProjectView.tsx @@ -110,7 +110,7 @@ export default function MCPProjectView({ data, root, offered, onChanged, onRemov return (
- }> + }>
{t('mcp.targets')}