Background
In #1462 / PR #1464, the Resources controls accordion was reworked so each open section's panel scrolls within its own share of the height (pinned headers, flex-distributed). The per-section scroll uses native overflow-y: auto on .mantine-Accordion-panel (see App.css .disclosure-sections).
Problem
The rest of the Resources UI (and the Tools/Prompts/Network controls) uses Mantine ScrollArea / ScrollArea.Autosize, which renders a styled, thin, theme-consistent scrollbar. The per-section accordion panels now use the browser-native scrollbar, which looks slightly different (chunkier on Windows/Linux; overlay-on-scroll on macOS) and inconsistent with the rest of the app.
Proposed change
Replace the native overflow-y: auto on the section panels with a Mantine ScrollArea that fills the flex-distributed panel height (e.g. ScrollArea with flex: 1; min-height: 0 inside each open Accordion.Panel, or styled scrollbar CSS), so the per-section scrollbars match the rest of the app.
Care needed: the panels are flex-sized and the accordion disables its Collapse height animation (transitionDuration={0}) to avoid fighting the flex layout — a nested ScrollArea must respect that flex height (fill, not measure content) so the section-sharing behavior from #1462 is preserved.
Acceptance criteria
Notes
Low priority / fit-and-finish. Split out from #1462 so the core layout fix can land first.
Background
In #1462 / PR #1464, the Resources controls accordion was reworked so each open section's panel scrolls within its own share of the height (pinned headers, flex-distributed). The per-section scroll uses native
overflow-y: autoon.mantine-Accordion-panel(seeApp.css.disclosure-sections).Problem
The rest of the Resources UI (and the Tools/Prompts/Network controls) uses Mantine
ScrollArea/ScrollArea.Autosize, which renders a styled, thin, theme-consistent scrollbar. The per-section accordion panels now use the browser-native scrollbar, which looks slightly different (chunkier on Windows/Linux; overlay-on-scroll on macOS) and inconsistent with the rest of the app.Proposed change
Replace the native
overflow-y: autoon the section panels with a MantineScrollAreathat fills the flex-distributed panel height (e.g.ScrollAreawithflex: 1; min-height: 0inside each openAccordion.Panel, or styled scrollbar CSS), so the per-section scrollbars match the rest of the app.Care needed: the panels are flex-sized and the accordion disables its Collapse height animation (
transitionDuration={0}) to avoid fighting the flex layout — a nestedScrollAreamust respect that flex height (fill, not measure content) so the section-sharing behavior from #1462 is preserved.Acceptance criteria
ScrollAreastyle used elsewhere.npm run validate+npm run test:storybookpass.Notes
Low priority / fit-and-finish. Split out from #1462 so the core layout fix can land first.