Skip to content

Code blocks have unnecessary scroll bars #1032

Description

@jsha

The code blocks on our site always have horizontal scroll bars, even when those are not necessary. See, for instance, this screenshot from https://letsencrypt.org/docs/revoking/:

Screenshot from 2020-04-24 13-07-46

It seems like the overflow-x: scroll in src/css/_base.scss has something to do with this, but I'm leery of removing that entirely. I'd like scrollbars to appear when they are needed, but with the current CSS, it seems like browsers (Chrome at least) are concluding the scroll is always needed.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions