Skip to content

fix: decrease height of suggestions - #417

Merged
bdjulbic merged 1 commit into
mainfrom
fix/decrease-prompt-suggestion-height
Mar 4, 2026
Merged

bdjulbic merged 1 commit into
mainfrom
fix/decrease-prompt-suggestion-height

Conversation

@bdjulbic

@bdjulbic bdjulbic commented Mar 4, 2026 •

Copy link
Copy Markdown
Collaborator

fixes #395

Decrease the prompt suggestion height

Screenshot 2026-03-04 at 12 08 24

Summary by CodeRabbit

  • Style
    • Adjusted height constraints for prompt suggestion items to provide a more compact layout.

@coderabbitai

coderabbitai Bot commented Mar 4, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

Adjusted height constraints on PromptSuggestions component from h-18 max-h-18 min-h-18 to h-18 max-h-14 min-h-14 in two UI elements, tightening the maximum and minimum height bounds for both the loading placeholder and item buttons.

Changes

Cohort / File(s) Summary
Layout Height Constraints
packages/ai-core/src/components/PromptSuggestions.tsx
Reduced maximum and minimum height bounds from 18 to 14 units in loading placeholder Button and Item Button class lists.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • ilyabo
  • igorDykhta

Poem

🐰 A rabbit hops through Tailwind springs,
Adjusting heights of UI things,
From eighteen down to fourteen's grace,
The buttons find their perfect space! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix: decrease height of suggestions' directly and clearly describes the main change in the PR, which adjusts height constraints in the PromptSuggestions component.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/decrease-prompt-suggestion-height

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 and usage tips.

@bdjulbic
bdjulbic merged commit bcd4f79 into main Mar 4, 2026
5 checks passed
@bdjulbic
bdjulbic deleted the fix/decrease-prompt-suggestion-height branch March 4, 2026 17:44
bdjulbic added a commit that referenced this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI prompt suggestion box has excessive bottom padding

2 participants