website icon indicating copy to clipboard operation
website copied to clipboard

🐛 Bug: Some given code getting difficult to read on code playground on mobile

Open jagpreetrahi opened this issue 8 months ago • 1 comments

Describe the bug

When we read the code on code playground, it gets difficult to read due to its inconsistent UI, which means the code overrides the language mode and we are not able to read it properly. This problem occurs only in some places.

Steps To Reproduce

Go to Docs Click on Reference Explore content and check it the code playground where some code overrides the language mode

Expected Behavior

Code should be read properly on code background in mobile device, so that anyone understand properly well without facing any difficulty.

Screenshots

Image Image

Device Information [optional]

- Device - Android

Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

No

jagpreetrahi avatar Apr 05 '25 16:04 jagpreetrahi

hey @jagpreetrahi thanks for the issue, how would you suggest solving this?

idanidan29 avatar Apr 18 '25 10:04 idanidan29

@idanidan29 Are you plannning to review the code snippet components as part of GSoC?

benjagm avatar Jun 14 '25 08:06 benjagm

Hi, I would like to contribute to this issue. I have something in my mind and have seen the codebase. Please assign this issue to me.

deveshru2712 avatar Jul 10 '25 08:07 deveshru2712

@deveshru2712 a tip you can see which issue you can contribute to by seeing their tags this is valid issue but its in discussion right now

animeshsahoo1 avatar Jul 10 '25 09:07 animeshsahoo1

@benjagm, sorry for the late reply, this should be fixed as part of https://github.com/json-schema-org/website/pull/1762.

idanidan29 avatar Jul 10 '25 14:07 idanidan29