Skip to content

Fix: Layout of the agent prompt dropdown menu is messed up. - #16653

Merged
wangq8 merged 2 commits into
infiniflow:mainfrom
cike8899:fix-search-required
Jul 6, 2026
Merged

wangq8 merged 2 commits into
infiniflow:mainfrom
cike8899:fix-search-required

Conversation

@cike8899

@cike8899 cike8899 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix: Layout of the agent prompt dropdown menu is messed up.

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 6, 2026
@cike8899 cike8899 added ci Continue Integration and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Jul 6, 2026
@cike8899
cike8899 marked this pull request as draft July 6, 2026 03:06
@cike8899
cike8899 marked this pull request as ready for review July 6, 2026 03:06
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 6, 2026
@coderabbitai

coderabbitai Bot commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

A CSS rule for the typeahead dropdown list in the prompt editor component was modified by removing the max-height: 200px; declaration, allowing the dropdown's content height to no longer be capped.

Changes

Typeahead Dropdown Styling

Layer / File(s) Summary
Remove max-height constraint
web/src/pages/agent/form/components/prompt-editor/index.css
The max-height: 200px; declaration is removed from .typeahead-popover ul, leaving only list-style: none and margin: 0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A tiny tweak, a height set free,
No cap to bind the list, tra-la-lee!
One line gone, so light, so small,
Yet dropdowns now can grow so tall.
Hop hop hooray, CSS delight! 🐰

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly matches the main change: fixing the agent prompt dropdown layout.
Description check ✅ Passed The description includes the required Summary section and states the PR's purpose.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@wangq8
wangq8 merged commit 290ab55 into infiniflow:main Jul 6, 2026
9 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants