mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-08 08:52:12 +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 <[email protected]>
This commit is contained in:
1 parent
53fd3683e2
commit
97b8928e4f
4 files changed
+45
-4
No files matched your search
@@ -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