Repository navigation
Use full pane width for Collection Settings editor tabs - #9549
bijin-bruno merged 3 commits into
Conversation
…ditor width - Remove 800px max-width from Script, Tests, Vars, Auth, Presets, Headers tabs - All Collection Settings tabs now use full available pane width - Provides consistent UI with Protobuf tab (already full width) - Client Certificates tab already uses full width (no constraint to remove) - Improves editing experience on wider screens Fixes usebruno#9538
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Remove 800px max-width rule packages/bruno-app/src/components/CollectionSettings/{Auth,Headers,Presets,Script,Tests,Vars}/StyledWrapper.js |
Each styled wrapper no longer sets max-width: 800px. No exported declarations change. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix · Severity of issue fixed: Low
Suggested reviewers: helloanoop
Merge Risk: 
Minimal · previous review 6a802
-
The Collection Settings tabs can use the available pane width; no issue requiring a fix before merge is identified.
Pre-merge checks: 
3 · 
2
-
Failed checks: 2 inconclusive Passed checks: 3 passed-
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.
-
-
Finishing Touches
-
🧪 Generate unit tests (beta)
-
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Eight hundred pixels, gone today,
The wrappers let the content stray.
Scripts stretch wide across the pane,
No more wrapping, lines remain.
Six small deletions, tidy and neat,
The layout now feels more complete.
|
Hey @hippi345 , thanks for the PR. I tested it and it works as expected. I'll pass it to the engineering team for review and update you here. |
BRU-4797
Description
Removes the fixed
max-width: 800pxfrom the Collection Settings tab wrappers so the editors use the full available pane width, matching the Protobuf tab.Fixes #9538
Changes
Removed the 800px
max-widthfrom theStyledWrapper.jsof these Collection Settings tabs:The Client Certificates tab was checked too. It has no
max-widthconstraint; its fixed widths are only on form labels and inputs, which is intentional form layout, so it is unchanged.CSS-only change (6 files, -10 lines). No behavior changes.
Testing
Screenshots
Script, before / after
Before:

After:

Tests, before / after
Before:

After:

Contribution Checklist:
AI disclosure: the code change and this description were generated by a Cursor cloud agent. I reviewed the diff and verified the Script and Tests tabs in a local dev build before opening.
Summary by CodeRabbit