You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: "Copy code" button for code blocks on LLM results partially covers code when code lines are long #1531
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Ask any model to give you a long bash script sample E.g. "Give me a random long sample CLI command"
Scroll horizontally to end of line and witness the copy button covering the last bit of the snippet.
Expected behavior
Add some horizontal padding at the end of the code block to give space for the "Copy code" button so that it doesn't cover the end of the code snippet.
Actual behavior
The "Copy code" button covers the last part of long lines in a code block.
This can be quite irritating when you want to try copy a line yourself, especially when the LLM results in two lines that you need to run separately in a terminal.
Activity
barrymichaeldoyle commentedon Apr 13, 2026
Relevant PR has been merged 😁 Thank you @juliusmarminge !