Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The wrapLongLines function isn't formatting properly. #146

Open
alimtunc opened this issue Dec 29, 2023 · 0 comments
Open

The wrapLongLines function isn't formatting properly. #146

alimtunc opened this issue Dec 29, 2023 · 0 comments

Comments

@alimtunc
Copy link

alimtunc commented Dec 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant