Skip to content

Docs: Table rendered in MDX in Images api reference doc #55904

@sheleoni

Description

@sheleoni

What is the improvement or update you wish to see?

A proper render of the table in the Props section of the Image component docs.

Is there any context that might help us understand?

Source URL

https://nextjs.org/docs/pages/api-reference/components/image

Issue

Was checking the <Image /> docs today, seems like the table is not being rendered properly. Happens on both page router & app router docs.
image

Potential Solution

The improper rendering of the table is probably caused by adding <div style={{ overflowX: 'auto', width: '100%' }}> before the table (ref). Removing it would probably solve the issue.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/pages/api-reference/components/image

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationRelated to Next.js' official documentation.locked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions