Skip to content

fix(docs): fix codeblock componentn#62

Merged
Myastr0 merged 1 commit intomasterfrom
docs/fix-codeblock
Nov 30, 2025
Merged

fix(docs): fix codeblock componentn#62
Myastr0 merged 1 commit intomasterfrom
docs/fix-codeblock

Conversation

@Myastr0
Copy link
Owner

@Myastr0 Myastr0 commented Nov 30, 2025

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

Description

This PR fixes the copy button in the codeblock component by adjusting its size from icon-xs to icon.

What changed

  • Copy button size fix: Changed the button variant size from icon-xs to icon in the CopyButton component, ensuring the button is properly sized and visible
  • Code formatting: Minor cleanup including import consolidation and trailing comma normalization for consistency

Why

The icon-xs size variant was likely causing the copy button to appear too small or improperly styled in the codeblock component. This fix ensures a better user experience when copying code snippets from the documentation.

Fix codeblock componentn
@Myastr0
Copy link
Owner Author

Myastr0 commented Nov 30, 2025

👋 Hi, Myastr0! Thanks for opening a PR. We will review it soon.
If you have any questions, feel free to join the #need-help channel on the Discord server

@Myastr0 Myastr0 merged commit 6b92dbc into master Nov 30, 2025
3 checks passed
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.

1 participant