Skip to content

fix: code block border, and focus ring fixes#861

Merged
rohanchkrabrty merged 2 commits into
mainfrom
design-fixes
Jul 23, 2026
Merged

fix: code block border, and focus ring fixes#861
rohanchkrabrty merged 2 commits into
mainfrom
design-fixes

Conversation

@rohanchkrabrty

@rohanchkrabrty rohanchkrabrty commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove the border from the CodeBlock container
  • Always apply the focus ring offset on Switch, Checkbox, and Radio, instead of only when checked
  • Hide the focus ring on disabled Radio items

@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
apsara Ready Ready Preview, Comment Jul 21, 2026 7:52pm

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Updated focus-visible styling for checkbox, switch, and radio components. Checkbox and switch focus-ring offsets now apply to general focus-visible states, while disabled radio items no longer receive focus outlines. Removed the code-block container’s explicit border.

Suggested reviewers: ravisuhag

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title matches the main changes: removing the code block border and adjusting focus ring behavior.
Description check ✅ Passed The description accurately summarizes the border removal and focus ring updates in the changed components.

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.

@rohanchkrabrty rohanchkrabrty changed the title fix: code block border, focus ring offsets, disabled radio focus fix: code block border, and focus ring fixes Jul 21, 2026
@ravisuhag
ravisuhag self-requested a review July 22, 2026 08:23
@rohanchkrabrty
rohanchkrabrty merged commit 85637c4 into main Jul 23, 2026
5 checks passed
@rohanchkrabrty
rohanchkrabrty deleted the design-fixes branch July 23, 2026 04:31
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.

2 participants