Skip to content

Code blocks cause horizontal page scroll on small screens #8437

@efekrskl

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

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions