Skip to content

Conversation

@mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Sep 22, 2025

Fixes #6463

  • Slides are centered better for iframe content
  /* If the first output is the only child, make it flex 1 */
  > *:only-child > .output:only-child {
    flex: 1;
  }
  • Better bottom padding when content overflows
min-height: fit-content;
  • Use more real-estate when slides is not in full screen:
return <div className="pr-18 pb-5 flex-1 flex flex-col">{slides}</div>;

@vercel
Copy link

vercel bot commented Sep 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Sep 22, 2025 2:24pm

@mscolnick mscolnick merged commit ab06c47 into main Sep 22, 2025
39 of 41 checks passed
@mscolnick mscolnick deleted the ms/center-slides branch September 22, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slides have incorrect width when displaying iframes and plotly figures

3 participants