Skip to content

Commit 1dbf9b9

Browse files
committed
Merge branch 'main' of https://github.com/RooVetGit/Roo-Code into rate-limit-profile-specific2
2 parents ee02aab + d1fa1e9 commit 1dbf9b9

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

src/shared/support-prompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Provide the improved code along with explanations for each enhancement.`,
9696
label: "Add to Context",
9797
description:
9898
"Add context to your current task or conversation. Useful for providing additional information or clarifications. Available in code actions (lightbulb icon in the editor). and the editor context menu (right-click on selected code).",
99-
template: `@/\${filePath}:
99+
template: `\${filePath}:
100100
\`\`\`
101101
\${selectedText}
102102
\`\`\``,

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,26 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone },
337337
</div>
338338
</TabHeader>
339339

340-
<TabContent className="p-0 divide-y divide-vscode-sideBar-background" onScroll={handleScroll}>
340+
<TabContent
341+
className="p-0 divide-y divide-vscode-sideBar-background"
342+
style={{
343+
maxHeight: "calc(100vh - 6rem)",
344+
height: "calc(100vh - 6rem)",
345+
overflowY: "scroll",
346+
overflowX: "hidden",
347+
WebkitOverflowScrolling: "touch",
348+
position: "relative",
349+
display: "block",
350+
msOverflowStyle: "-ms-autohiding-scrollbar",
351+
scrollbarWidth: "auto",
352+
scrollbarGutter: "stable",
353+
willChange: "scroll-position",
354+
}}
355+
onWheel={(e) => {
356+
const container = e.currentTarget
357+
container.scrollTop += e.deltaY
358+
}}
359+
onScroll={handleScroll}>
341360
<div ref={providersRef}>
342361
<SectionHeader>
343362
<div className="flex items-center gap-2">

0 commit comments

Comments
 (0)