Skip to content

Stop add scroll bars to quotes blocks #3012

Closed

Description

@evandrocoan

image

  • url sets the value returned by window.location, document.URL, and document.documentURI, and affects things like resolution of relative URLs within the document and the same-origin restrictions and referrer used while fetching subresources. It defaults to "about:blank".
> - `url` sets the value returned by `window.location`, `document.URL`, and `document.documentURI`, and affects things like resolution of relative URLs within the document and the same-origin restrictions and referrer used while fetching subresources. It defaults to `"about:blank"`.

I am already using this CSS from #1146 (comment) but it not working for quoted blocks as you can see on the image just above. Only removing GitHubRedefined fixes it.

.comment-body blockquote,
.comment-body pre {
  max-height: none !important;
  overflow-y: visible !important;
}

Activity

  1. added
    firefox
    and removed on Apr 17, 2020
  2. fregante commented on Apr 17, 2020

    @fregante
    Member

    Ugh, this is a CSS Specification "bug". The code blocks inside the blockquote will cause it to overflow instead of adjusting its size: https://bugzilla.mozilla.org/show_bug.cgi?id=491549

    Any display: inline element with padding inside overflow: scroll will cause this, everywhere.

  3. added and removed
    firefox
    on Apr 17, 2020
  4. self-assigned this
    on Apr 17, 2020
  5. fregante commented on Apr 17, 2020

    @fregante
    Member

    I fixed the issue (in the next release) and also updated your CSS snippet to disable the feature correctly.

  6. fregante commented on May 8, 2020

    @fregante
    Member

    My fix broke non-highlighted code, example:

    test
    

    The padding is missing.

    PR welcome to try another fix

    Screenshot

    shot
  7. removed their assignment
    on May 9, 2020
  8. fregante commented on Jun 20, 2020

    @fregante
    Member

    Reapplied a similar fix, but limited to blockquote

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions