Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/src/components/QuestionPicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export function QuestionPicker({ request, onResolve, originLabel = '' }) {
? 'bg-accent-bg border border-accent text-accent'
: focused
? 'bg-accent-bg border border-accent'
: 'border border-transparent hover:bg-accent-bg hover:border-accent',
: 'border border-transparent hover:bg-accent-bg',

)}
>
Expand Down Expand Up @@ -501,7 +501,7 @@ export function QuestionPicker({ request, onResolve, originLabel = '' }) {
? 'bg-accent-bg border border-accent'
: focusIndex === customIndex
? 'bg-accent-bg border border-accent'
: 'border border-transparent hover:bg-accent-bg hover:border-accent',
: 'border border-transparent hover:bg-accent-bg',

)}
>
Expand Down
2 changes: 2 additions & 0 deletions web/src/lib/questionPickerLayout.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ assert.doesNotMatch(picker, /font-medium bg-fg text-bg/);
assert.doesNotMatch(picker, /<svg[^>]*aria-hidden="true">[\s\S]*?M20 15a3/);
assert.match(picker, /min-h-11 shrink-0 px-4 py-2/);
assert.match(picker, /group flex items-center gap-3 rounded-lg px-3 py-2\.5/);
assert.match(picker, /border border-transparent hover:bg-accent-bg/);
assert.doesNotMatch(picker, /hover:border-accent/);

assert.match(toolBlock, /const isAskUserQuestionResult = askUserQuestionResult/);
assert.match(toolBlock, /translate\('用户已取消回答'\)/);
Expand Down
Loading