Skip to content

fix: multipart form button alignment - #7629

Merged
sid-bruno merged 2 commits into
usebruno:mainfrom
pooja-bruno:fix/multipart-form-button-alignment
Mar 31, 2026
Merged

sid-bruno merged 2 commits into
usebruno:mainfrom
pooja-bruno:fix/multipart-form-button-alignment

Conversation

@pooja-bruno

@pooja-bruno pooja-bruno commented Mar 31, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Fixed misaligned upload/select file buttons in the Multipart Form Params table.

JIRA

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Before
image

After
image

Summary by CodeRabbit

  • Style
    • Improved layout for multipart form parameter fields by ensuring value cells occupy full width for more consistent sizing.
    • Prevented upload and clear-file buttons from shrinking and added safe shrinking to nested content to stabilize spacing in response examples.

@coderabbitai

coderabbitai Bot commented Mar 31, 2026 •

Copy link
Copy Markdown
Contributor

Walkthrough

Apply CSS layout constraints to multipart form parameter components: set width: 100% on value cells and prevent upload/clear buttons from shrinking; add .flex-1 min-width adjustments for proper flex behavior.

Changes

Cohort / File(s) Summary
RequestPane Multipart Cell Styling
packages/bruno-app/src/components/RequestPane/MultipartFormParams/StyledWrapper.js
Added width: 100% to .file-value-cell and .value-cell to enforce full-width cell sizing.
ResponseExample Multipart Cell & Button Styling
packages/bruno-app/src/components/ResponseExample/ResponseExampleRequestPane/ResponseExampleMultipartFormParams/StyledWrapper.js
Added flex-shrink: 0 to .upload-btn and .clear-file-btn; set .value-cell { width: 100% }; added .flex-1 { min-width: 0 } and .file-name/button styling (padding, colors, hover states).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • helloanoop
  • bijin-bruno
  • lohit-bruno
  • naman-bruno

Poem

Cells stretch wide, buttons stand tall,
Flex rules whisper, "no shrink at all."
Names fit snug in a tidy line,
Multipart forms now behave — divine. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: adding CSS rules to fix button alignment in the multipart form params 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 unit tests (beta)
  • Create PR with unit tests

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants