Skip to content

Double Scroll Bar #12

Description

@homotechsual

Hi Christian - thanks for forking this - the improvements look great!

I'm seeing a double vertical scroll bar caused by the repetition of the language-* class on the immediate child of docusaurus-theme-github-codeblock and the child of codeBlockContent which is where it should be (alongside prism-code).

Not sure the best fix here - ideally not putting the class on the parent element but otherwise this CSS resolves:

/* GitHub Code Block */

// Fix for doubled up `language-*` class causing a double scroll bar effect.

.docusaurus-theme-github-codeblock > [class*="language-"] {
  max-height: none;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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