Skip to content

Code sample results take too much space on narrow screens #6269

Description

@morzel85

When I open the docs on narrow screen (Full HD in vertical mode), the containers for code results are too tall (mostly empty).

Example (https://react.dev/learn/reusing-logic-with-custom-hooks):

react dev_learn_reusing-logic-with-custom-hooks (1)

Note that Show less/Show more button will not fix it (it will only affect the size of code box).

Tested in:
Chrome 116.0.5845.110 (Official Build) (64-bit) on Ubuntu 20.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions