Skip to content

Mobile-friendly code tree #256

Closed

Description

@oneminch

Environment

undocs version: latest (0.10.0)

Reproduction

Any undocs powered docs site that uses a CodeTree component in its content. e.g. https://nitro.build/examples/cached-handler

Mobile Screenshot Desktop Screenshots
Image Image

Describe the bug

On narrower viewports which reduce the width of the page content, the code section of a CodeTree component is unreadable due to size. It gets squeezed more relative to the file tree section.

Additional context

No response

Logs

Activity

  1. added
    bug
    on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions