Skip to content

fix(style): adjust alignment of copy button for smaller code blocks#7807

Open
TusharThakur04 wants to merge 2 commits intowebpack:mainfrom
TusharThakur04:style/copy-button-alignment
Open

fix(style): adjust alignment of copy button for smaller code blocks#7807
TusharThakur04 wants to merge 2 commits intowebpack:mainfrom
TusharThakur04:style/copy-button-alignment

Conversation

@TusharThakur04
Copy link
Contributor

Summary
This PR corrects the copy button positioning for smaller code blocks

What kind of change does this PR introduce?
style

Did you add tests for your changes?
no

Does this PR introduce a breaking change?
no

before

Screenshot from 2026-02-11 18-24-06

after

Screenshot from 2026-02-11 18-57-26

@vercel
Copy link

vercel bot commented Feb 11, 2026

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

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Feb 12, 2026 2:41pm

Request Review

@TusharThakur04
Copy link
Contributor Author

@evenstensberg please review

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you pad the top abit too?

@TusharThakur04
Copy link
Contributor Author

@evenstensberg
is it good?

Screenshot from 2026-02-12 20-04-57

@evenstensberg
Copy link
Member

Yes

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

super! lgtm 💙

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