Skip to content

Expand output cells to use available vertical space #639

@nlgranger

Description

@nlgranger

Slides are centered vertically based on the initial content height.
As output grows, the slide does not remain centered, instead the content just expands downward beyond the viewport.
The slide ends up with a weird blank space at the top, and more often than not the scroll bar gets confused.

image
image

I'd suggest the following behaviors instead:

  • Empty output cells use all available vertical space by default, and expand beyond if necessary causing a scrollbar to appear (on the slide or the output cell only?)
  • Provide a way to manually reserve height in cell metadata (but in which unit?)
  • Provide an option to align the slides to the top vertically, so there is no gap above the content to begin with.

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