mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Merge pull request #1750 from RooVetGit/cte/settings-scroll-cleanup
Clean up CSS for settings view wheel scroll
This commit is contained in:
commit
69cc6c1f7f
2 changed files with 7 additions and 13 deletions
5
.changeset/cyan-owls-juggle.md
Normal file
5
.changeset/cyan-owls-juggle.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Fix SettingsView scrolling in VSCode editor tab
|
||||
|
|
@ -338,24 +338,13 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone },
|
|||
</TabHeader>
|
||||
|
||||
<TabContent
|
||||
className="p-0 divide-y divide-vscode-sideBar-background"
|
||||
className="p-0 divide-y divide-vscode-sideBar-background will-change-scroll"
|
||||
style={{
|
||||
maxHeight: "calc(100vh - 6rem)",
|
||||
height: "calc(100vh - 6rem)",
|
||||
overflowY: "scroll",
|
||||
overflowX: "hidden",
|
||||
WebkitOverflowScrolling: "touch",
|
||||
position: "relative",
|
||||
display: "block",
|
||||
msOverflowStyle: "-ms-autohiding-scrollbar",
|
||||
scrollbarWidth: "auto",
|
||||
scrollbarGutter: "stable",
|
||||
willChange: "scroll-position",
|
||||
}}
|
||||
onWheel={(e) => {
|
||||
const container = e.currentTarget
|
||||
container.scrollTop += e.deltaY
|
||||
}}
|
||||
onWheel={(e) => (e.currentTarget.scrollTop += e.deltaY)}
|
||||
onScroll={handleScroll}>
|
||||
<div ref={providersRef}>
|
||||
<SectionHeader>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue