Skip to content

FLOW-2583: Fix toolbar layout and icon size in prompt box sidebar - (Jira Coding Agent) - #1912

Draft
atlassian[bot] wants to merge 1 commit into
mainfrom
FLOW-2583-prompt-box-4f96f
Draft

FLOW-2583: Fix toolbar layout and icon size in prompt box sidebar - (Jira Coding Agent)#1912
atlassian[bot] wants to merge 1 commit into
mainfrom
FLOW-2583-prompt-box-4f96f

Conversation

@atlassian

@atlassian atlassian Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the prompt box toolbar layout issue where it would break into multiple lines when the sidebar is narrow, and addresses the oversized icon and button sizes in the prompt box toolbar.

Key changes:

Area Change Description
Toolbar Layout Prevent toolbar wrapping by setting flexWrap to 'nowrap' and allowing toolbar sections to shrink gracefully with minWidth and flexShrink styles.
Icon and Button Sizes Reduce prompt button and icon sizes from 32px/24px to 24px/16px to avoid oversized appearance. All relevant icons now support a 'small' size prop and are updated accordingly.
CSS Styling Adjust padding, height, width, gap, and border-radius in CSS for prompt buttons and mode indicators to match new smaller sizes.
Prompt Box Components Update PromptContextPopup, PromptInputBox, and PromptSettingsPopup components to use smaller icon sizes and improve layout constraints for narrow sidebars.

These changes improve the visual consistency and usability of the prompt box toolbar, especially in narrow sidebar contexts, ensuring a cleaner and more compact UI.


Rovo Dev code review: Rovo Dev couldn't review this pull request
Rovo Dev does not review pull requests created by bot accounts.

 Co-authored-by: Leandro Lemos <llemos@atlassian.com>
@atlassian-cla-bot

Copy link
Copy Markdown

Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution.
If your email is listed below, please ensure that you sign the CLA with the same email address.

The following users still need to sign our CLA:
a393d78c-73d8-4f4d-84ea-500a2d3d8fc3@connect.atlassian.com

Already signed the CLA? To re-check, try refreshing the page.

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.

0 participants