Skip to content

set style override for <pre> tag to visible overflow #198

Description

@figuerom16

This is a fix for when using CSS frameworks like BulmaCSS. For BulmaCSS all <pre> tags are set with overflow-x: auto; which causes horizontal/vertically scrolled code to be cut off with a white background.

Forcing pre to overflow visible will override other CSS frameworks hopefully saving future headaches.

code-input pre {
  z-index: 0;
  overflow: visible!important;
}

Thank you for making this by the way!

Image

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

    area:coreA bug/feature for the core code-input.js/code-input.css filesarea:externalA bug/feature due to integration with another library / JavaScript framework, but not the browser.bugSomething isn't workingpriority:medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions