-
Notifications
You must be signed in to change notification settings - Fork 17
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
line break toggle covers code block content #1425
Comments
I remember you already submitted similar issue in v2.
What’s your proposition to fix? |
Possible options are
|
I rarely use the copy and line-break toggle on my phone, so I disagree that a context menu would be too complicated. How often do people copy a code snippet on mobile, for me it makes most sense on a desktop where you want to run the example? It might be an acceptable trade-off to hide that button and only display the line break toggle. The code area is already quite small due to all the vertical spacings, so the latter seems suboptimal. Reducing the size of the buttons in the header and placing them next to each other could also be a possibility. |
this is true, we already show Will be more minimalistic too for mobile devices
true too
We can try to see how it looks like, but I would stay with putting word wrap button on copy button place Accepted to be fixed in Nextra directly! |
@n1ru4l I've just thought that github approach will be perfect since if code block doesn't contain filename, copy code button will be in code block and not in its filename (and covering issue will still persist), so we can leave copy-code for mobile for now (since github has it on mobile too) |
line break toggle covers code block content
The text was updated successfully, but these errors were encountered: