Skip to content

Commit 159bf2e

Browse files
authored
fix: make settings search results same width as search input (RooCodeInc#11617)
Changed the settings search results to be the same width as the search input. This ensures the results dropdown does not overflow outside of the parent panel.
1 parent d8cfbfd commit 159bf2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export function SettingsSearch({ index, onNavigate, sections }: SettingsSearchPr
108108
inputRef={inputRef}
109109
/>
110110
{searchQuery && isOpen && (
111-
<div className="absolute top-full min-w-[300px] right-0 mt-2 border border-vscode-dropdown-border bg-vscode-dropdown-background rounded-2xl overflow-hidden shadow-xl z-50">
111+
<div className="absolute top-full left-0 w-full mt-2 border border-vscode-dropdown-border bg-vscode-dropdown-background rounded-2xl overflow-hidden shadow-xl z-50">
112112
<SettingsSearchResults
113113
results={results}
114114
query={searchQuery}

0 commit comments

Comments
 (0)