fix: make settings search results same width as search input (#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.
This commit is contained in:
rossdonald 2026-02-20 09:19:20 +11:00 committed by GitHub
parent d8cfbfdb05
commit 159bf2e9f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,7 +108,7 @@ export function SettingsSearch({ index, onNavigate, sections }: SettingsSearchPr
inputRef={inputRef}
/>
{searchQuery && isOpen && (
<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">
<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">
<SettingsSearchResults
results={results}
query={searchQuery}