Skip to content

The wrapLongLines function isn't formatting properly. #146

@alimtunc

Description

@alimtunc

Hello, I noticed that the formatting of lengthy JSON content appears to be somewhat broken. The text is extending too far to the left; I'd like it to align properly without going too far to the left. How can I accomplish this?

Here is my snippet

<CodeBlock
        lineNumberContainerStyle={{
          userSelect: "unset",
        }}
        text={content}
        language="json"
        showLineNumbers={false}
        theme={github}
        wrapLongLines
      />

Capture d’écran 2023-12-29 à 09 46 01

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions