Skip to content

Commit c79f97b

Browse files
committed
improve scroll style
1 parent ae0b330 commit c79f97b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/ui/src/components/settings/SettingsDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export function SettingsDialog() {
182182

183183
<section className="flex-1 h-full overflow-hidden">
184184
<ScrollArea className="h-full pr-1">
185-
<div className="pb-4">
185+
<div className="pb-4 pr-4">
186186
{activeTab?.id === "general" && (
187187
<GeneralSettingsPanel isActive={open && activeTabId === "general"} />
188188
)}

src/ui/src/components/settings/custom-prompt/CustomPromptManager.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { SearchBar } from "../../common/SearchBar";
55
import { DeleteConfirmDialog } from "../../dialogs/DeleteConfirmDialog";
66
import { UnsavedChangesDialog } from "../../dialogs/UnsavedChangesDialog";
77
import { Button } from "../../ui/button";
8-
import { ScrollArea } from "../../ui/scroll-area";
98
import { Separator } from "../../ui/separator";
109
import { PromptForm } from "./PromptForm";
1110
import { PromptListView } from "./PromptListView";
@@ -374,9 +373,9 @@ export function CustomPromptSettingsPanel({
374373
</p>
375374
</header>
376375
)}
377-
<ScrollArea className="flex-1">
376+
<div className="flex-1">
378377
<div className="w-full overflow-x-hidden">{renderContent()}</div>
379-
</ScrollArea>
378+
</div>
380379
</div>
381380

382381
<UnsavedChangesDialog

0 commit comments

Comments
 (0)