Skip to content

[BUG]: Commentted line overflows container #1767

@StevanFreeborn

Description

@StevanFreeborn

When a comment inside a code block exceeds the block's width, the content overflows the boundaries instead of scrolling horizontally. This causes the code to be cut off and unreadable.

Expected behavior:

  • Content within code blocks should scroll horizontally when it exceeds the block's boundaries.

Steps to reproduce:

  1. Make your viewport narrow enough so that the comment spills outside of the container.
  2. Observe that the content spills out of the code block and is not scrollable.

Screenshot example:
Code block overflow issue

Please update the code block styling so overflowing content scrolls horizontally, ensuring all content remains visible and accessible.

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