mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-25 08:02:56 +00:00
feat(ui): search in the agent model dropdown (#352)
Select gains an optional search box that filters its options; the agent model pickers use it, so long model lists can be filtered instead of scrolled. Keyboard navigation and type-ahead work on the filtered list, and the popup keeps its width while filtering. Co-authored-by: dimassfeb-09 <62858781+dimassfeb-09@users.noreply.github.com>
This commit is contained in:
@@ -123,3 +123,16 @@
|
||||
border: 1px solid ButtonText;
|
||||
}
|
||||
}
|
||||
|
||||
.searchWrap {
|
||||
padding: 4px 6px 6px;
|
||||
}
|
||||
.search {
|
||||
width: 100%;
|
||||
height: var(--h-field, 28px);
|
||||
padding: 0 8px;
|
||||
border-radius: var(--radius-control, 4px);
|
||||
background: var(--bg-field, var(--bg-button));
|
||||
box-shadow: inset 0 0 0 1px var(--border-button);
|
||||
color: var(--fg-strong);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user