Skip to content

Code blocks cause horizontal page scroll on small screens #8437

Description

@efekrskl

URL:

https://nodejs.org/en/learn/typescript/introduction

Browser Name:

Chrome (iOs)

Browser Version:

Operating System:

iOs 26.1

How to reproduce the issue:

In some Learn pages, a horizontal scroll bar appears on small screen devices. This makes reading some of the learn articles a bit difficult.

I'm suspecting this is caused by the error annotations inside the Codebox, because they appear only in pages with error examples

An example mobile view:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions