-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Problem (one or two sentences)
In the settings web UI, each settings panel has a heading and subheading that is sticky. On longer panels, the sticky header overlaps the text content when scrolling, making content unreadable.
Analysis
The SectionHeader component has the following CSS classes:
Roo-Code/webview-ui/src/components/settings/SectionHeader.tsx
Lines 13 to 15 in 2391a0f
| className={cn( | |
| "sticky top-0 z-10 text-vscode-sideBar-foreground bg-vscode-sideBar-background px-5 pt-6 pb-4", | |
| className, |
The Problem
sticky top-0: Makes the header stick to the top of its nearest scrollable ancestorz-10: Places the header above other content (z-index: 10)bg-vscode-sideBar-background: Gives the header a solid background colorpx-5 pt-6 pb-4: Adds padding to the header
When content scrolls, it moves under the sticky header. Because the header has:
- A solid background color
- A z-index that places it above content
- No spacing mechanism to prevent overlap
The content that scrolls under the header becomes covered and unreadable.
Affects all settings panels use the SectionHeader component.
Context (who is affected and when)
Users using settings section
Reproduction steps
- Go to settings
- Click on Context
- Scroll down
Expected result
Heading scrolls or does not overlap other text
Actual result
Heading is sticky and overlaps text in panel
Variations tried (optional)
No response
App Version
3.43.0
API Provider (optional)
None
Model Used (optional)
No response
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status