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

The "/lesson-plan/conditional-tags/" page design issue on mobile devices. #1633

Closed
VipulUpadala opened this issue Jun 15, 2023 · 1 comment
Closed
Labels
[Type] Bug Something isn't working on the Learn website.

Comments

@VipulUpadala
Copy link

Description

I have reviewed the "/lesson-plan/conditional-tags/" page on my mobile devices and found the page design is breaking below the 500px screen. because of <code> tag does not wrap the text for that region design is breaking.

Page URL: https://learn.wordpress.org/lesson-plan/conditional-tags/

Step-by-step reproduction instructions

  1. Open https://learn.wordpress.org/lesson-plan/conditional-tags/ this page on mobile device.
  2. Scroll down to below and check <code> tag does not wrap text.

Expected behaviour

<code> tag need to be a responsive.

Actual behaviour

<code> tag does not responsive.

Screenshots or screen recording (optional)

please check the below provided screenshot for a better understanding.

Screenshot: https://share.cleanshot.com/QqCPP0vsQbmYJdP1hJGC

Environment information

  • Chrome.
  • Redmi note 10, Macbook
@VipulUpadala VipulUpadala added [Type] Bug Something isn't working on the Learn website. Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. labels Jun 15, 2023
@jonathanbossenger
Copy link
Collaborator

Hi @VipulUpadala thank you for your contribution.

The code block that is used in tutorials and lesson plans does not wrap any code inside the block by design. This is to preserve the code formatting of the example code.

I'm therefore going to close this issue, as this is an expected feature of the code block.

@Piyopiyo-Kitsune Piyopiyo-Kitsune removed the Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug Something isn't working on the Learn website.
Projects
Status: Done
Development

No branches or pull requests

3 participants