Skip to content

fix: prevent TS toggle and copy button overlap on iPhone (#1046)#1866

Merged
teemingc merged 1 commit intosveltejs:mainfrom
AbdullahShafqat-OG:ts-toggle-overlap-iphone
Mar 17, 2026
Merged

fix: prevent TS toggle and copy button overlap on iPhone (#1046)#1866
teemingc merged 1 commit intosveltejs:mainfrom
AbdullahShafqat-OG:ts-toggle-overlap-iphone

Conversation

@AbdullahShafqat-OG
Copy link
Copy Markdown
Contributor

Fixes a visual layout bug on iPhones where the JS/TS toggle and copy-to-clipboard button in code blocks overlap, making them impossible to click.

Fixes #1046

Before

image

After

image

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 17, 2026

@AbdullahShafqat-OG is attempting to deploy a commit to the Svelte Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
svelte-dev Ready Ready Preview Mar 17, 2026 2:46am

Request Review

Copy link
Copy Markdown
Member

@teemingc teemingc left a comment

Choose a reason for hiding this comment

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

Amazing. Thank you so much

@teemingc teemingc merged commit 7452201 into sveltejs:main Mar 17, 2026
2 checks passed
@AbdullahShafqat-OG AbdullahShafqat-OG deleted the ts-toggle-overlap-iphone branch March 17, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JS/TS/Copy code block buttons overlapping on iOS

2 participants