-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cell spacing in run, html export #1898
Conversation
The vertical layout was missing spacing when code was shown.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
)} | ||
{/* Shown in read and present */} | ||
<FloatingOutline /> | ||
<div className={showCode ? "flex flex-col gap-5" : undefined}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you just pass this class to the vertical layout? Avoid a bunch of nesting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That didn't work because vertical layout has its own nesting. Plus I realized we don't want to put everything (TOC, action buttons) in the flex, just the cell array.
Updated to only wrap in div when needed. So now the DOM is analogous to the CellArray
component, which also wraps cells in a flexed div under a VerticalLayoutWrapper
.
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.7.13-dev7 |
The vertical layout was missing spacing when code was shown.