Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs Site] Shrink codeblock buttons on mobile to desktop size #19334

Merged
merged 3 commits into from
Jan 21, 2025

Conversation

KianNH
Copy link
Contributor

@KianNH KianNH commented Jan 21, 2025

Summary

EC sets the copy button to be 2.5rem on mobile and 2rem on desktop, this change means it will always be 2rem.

Screenshots (optional)

Before:
image

After:
image

src/code.css Outdated Show resolved Hide resolved
Copy link

cloudflare-workers-and-pages bot commented Jan 21, 2025

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 764c08e
Status: ✅  Deploy successful!
Preview URL: https://461b7bf8.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://kian-pcx-13242.cloudflare-docs-7ou.pages.dev

View logs

Co-authored-by: Kian <kian@kian.org.uk>
@KianNH KianNH merged commit 9bb4905 into production Jan 21, 2025
11 checks passed
@KianNH KianNH deleted the kian/PCX-13242 branch January 21, 2025 21:28
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.

9 participants