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

There is a white background behind text and clipboard icon is too small #71

Open
KingTahac53 opened this issue Nov 7, 2022 · 1 comment

Comments

@KingTahac53
Copy link

KingTahac53 commented Nov 7, 2022

This is how the UI is looking

image

Below is my code I used

      text={`function toBe() {
            if (Math.random() < 0.5) {
              return true;
            } else {
              return false;
            }
            }`}
      showLineNumbers={true}
      codeBlock
      language="text"
      theme={a11yDark}
      customStyle={{
        height: "250px",
        width: "100%",
        overflowY: "scroll",
        borderRadius: "5px",
        boxShadow: "1px 2px 3px rgba(0,0,0,0.35)",
        fontSize: "3.75rem",
        margin: "0px 0.75rem",
      }}
    />```


**I tried changing themes and tried in custom styles also but it didn't work**
@MatteoGioioso
Copy link

MatteoGioioso commented Feb 3, 2023

Same bug here, the lines are also on the same row

        <CopyBlock
                text={splitPanelState.queryParsed ? format(splitPanelState.queryParsed, {language: 'postgresql'}) : ""}
                language={"sql"}
                showLineNumbers={true}
                theme={dracula}
                codeBlock
            />

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

2 participants