Skip to content

Text area too wide for the right shift reference entry #183

Open

Description

@tabreturn

The text bursts out of its 'frame' here: https://py.processing.org/reference/rightshift.html

Probably requires a small CSS/HTML fix. I'll look at it later.

Activity

  1. FeXd commented on Dec 7, 2020

    @FeXd
    Contributor

    This happens on many pages, and looks to be caused by the <pre> tag default broswer styling.

    I'm not super up to date on my CSS, but adding the style white-space: pre-wrap; to <pre> tags looks like a possible fix. Not sure about the browser support tho.

  2. tabreturn commented on Dec 7, 2020

    @tabreturn
    ContributorAuthor

    Thanks, @FeXd. Best just to break the offending comment across two lines, then?

  3. FeXd commented on Apr 18, 2021

    @FeXd
    Contributor

    I just took a look at the main processing site to see what they do, and the same issue exists. They just have shorter examples.

    So @tabreturn I do think the change you suggested of breaking the comment across two lines is the way to go. I might take some time to audit other pages for similar issues.

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