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

Mobile: Copy-button hides text for long single-line code blocks #653

Open
Jan-Koll opened this issue Oct 26, 2024 · 0 comments
Open

Mobile: Copy-button hides text for long single-line code blocks #653

Jan-Koll opened this issue Oct 26, 2024 · 0 comments

Comments

@Jan-Koll
Copy link

For single-line code blocks that have a horizontal overflow, the copy-button hides a few characters from the end of the text on small screens.

See e.g. https://svelte.dev/docs/svelte/$props#Renaming-props:

Screenshot showcasing bug

The line should end with ... = $props(); but instead it only shows ... = $prop (and the last p is also cut in half).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants