en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

"run"/"open in sandbox" buttons in code fragments make the end of first line hardly readable in narrow viewports

Open vsemozhetbyt opened this issue 3 years ago • 4 comments

Screenshots:

Desktop in light mode:

screenshot


Mobile in dark mode:

screenshot


vsemozhetbyt avatar Oct 08 '20 15:10 vsemozhetbyt

@Bezart Anything we can do?

iliakan avatar Dec 05 '20 20:12 iliakan

@iliakan I agree, the UX part can be improved here. As an option, we can trigger showing those buttons when hover over the code block (desktop) / on-tap (mobile). Thoughts?

Bezart avatar Dec 05 '20 22:12 Bezart

Maybe hide the "edit" button on narrow mobiles? I doubt people edit code on phones.

iliakan avatar Dec 06 '20 06:12 iliakan

@Bezart

iliakan avatar May 16 '21 09:05 iliakan