Skip to content

Add support for code output scrolling #1057

@edgararuiz

Description

@edgararuiz

It would be great to add an option to enable the output of a code chunk to be scrollable, and to be able to set the max height of the visible output. The idea would be to be able to set that at the site, document or code chunk level.

Currently, we are able to set that at the site level using the following CSS entry:

.cell-output-stdout {
  overflow-y: scroll;
  max-height: 300px;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthtmlIssues with HTML and related web technology (html/css/scss/js)themesRelated to HTML theming or any other style related issue (like highlight-style)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions