Skip to content

Cell content modal doesn't preserve newlines in multiline text #36904

@theshazkhan

Description

@theshazkhan

Screenshot

Image

Description

When clicking on a cell containing multiline text (e.g. stack traces with newline characters), the modal popup displays all the text on a single line instead of preserving the line breaks.

Expected behaviour: Newlines in the cell content should be rendered as line breaks in the modal.
Actual behaviour: All text appears on one continuous line, making stack traces and other multiline content
difficult to read.

Suggested fix: Add white-space: pre-wrap to the .ant-modal-body CSS class. This preserves newline characters and renders them correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    #bug:cosmeticCosmetic/layout/design tweak needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions