diff --git a/.changeset/fix-model-selector-double-scroll-bar.md b/.changeset/fix-model-selector-double-scroll-bar.md new file mode 100644 index 00000000000..605b086c342 --- /dev/null +++ b/.changeset/fix-model-selector-double-scroll-bar.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fix double scroll bar in ModelSelector and KiloProfileSelector by increasing max-height. diff --git a/webview-ui/src/components/kilocode/chat/KiloProfileSelector.tsx b/webview-ui/src/components/kilocode/chat/KiloProfileSelector.tsx index 4c464aeedff..211f12da42f 100644 --- a/webview-ui/src/components/kilocode/chat/KiloProfileSelector.tsx +++ b/webview-ui/src/components/kilocode/chat/KiloProfileSelector.tsx @@ -104,7 +104,7 @@ export const KiloProfileSelector = ({ vscode.postMessage({ type: "loadApiConfigurationById", text: value }) } }} - contentClassName="max-h-[300px] overflow-y-auto" + contentClassName="max-h-[400px] overflow-y-auto" // kilocode_change start - VSC Theme triggerClassName={cn( "w-full text-ellipsis overflow-hidden", diff --git a/webview-ui/src/components/kilocode/chat/ModelSelector.tsx b/webview-ui/src/components/kilocode/chat/ModelSelector.tsx index dfdd2f32ef4..225db84cd1f 100644 --- a/webview-ui/src/components/kilocode/chat/ModelSelector.tsx +++ b/webview-ui/src/components/kilocode/chat/ModelSelector.tsx @@ -142,7 +142,7 @@ export const ModelSelector = ({ title={t("chat:selectApiConfig")} options={options} onChange={onChange} - contentClassName="max-h-[300px] overflow-y-auto" + contentClassName="max-h-[400px] overflow-y-auto" triggerClassName={cn( "w-full text-ellipsis overflow-hidden p-0", "bg-transparent border-transparent hover:bg-transparent hover:border-transparent",