Skip to content

(size/XS)fix(openapi): copy cURL icon now respects the theme variables - #8314

Merged
bijin-bruno merged 1 commit into
usebruno:mainfrom
adwait-bruno:fix/copy-curl-icon
Jun 23, 2026
Merged

bijin-bruno merged 1 commit into
usebruno:mainfrom
adwait-bruno:fix/copy-curl-icon

Conversation

@adwait-bruno

@adwait-bruno adwait-bruno commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

The background overwrites the svg colour and hence makes it invisible
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.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.
Screenshot 2026-06-19 at 1 35 07 PM

Summary by CodeRabbit

  • Style
    • Refined styling for the copy button in the API specification panel.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Removes two theme-driven CSS declarations — background and border — from the .copy-to-clipboard button selector inside the Swagger renderer's StyledWrapper.js. The border-radius rule and all other styles in that block remain unchanged.

Changes

Swagger StyledWrapper Style Cleanup

Layer / File(s) Summary
Remove background and border from copy-to-clipboard button
packages/bruno-app/src/components/ApiSpecPanel/Renderers/Swagger/StyledWrapper.js
Removes the theme-driven background and border declarations from the .copy-to-clipboard button CSS block; border-radius is retained.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

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

Poem

Two lines removed, the button breathes free,
No background, no border — just border-radius with glee.
The clipboard still copies with effortless grace,
A tiny CSS tweak, a tidier space. 🎨✂️

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: fixing the copy cURL icon visibility issue by removing theme-conflicting background/border rules so the icon respects theme variables.
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.
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.

@bijin-bruno
bijin-bruno merged commit 800ab6f into usebruno:main Jun 23, 2026
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.

3 participants