-
Notifications
You must be signed in to change notification settings - Fork 857
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
I use notebooks quite a lot and an important feature that I frequently need is to adapt the pane display width according to the contents of different notebooks. In Pluto.jl, I can easily do this by inserting a CSS code like, e.g., this one:
html"""
<style>
@media screen {
main {
margin: 0 auto;
max-width: 1600px;
padding-left: max(100px, 10%);
padding-right: max(380px, 10%);
# 383px to accommodate TableOfContents(aside=true)
}
}
</style>
"""
I tried several versions of CSS in marimo but all of them failed. Is it possible to do it? I do not want to change the width configuration of marimo on my computer; I need to do it on a notebook-by-notebook basis.
Thanks.
Suggested solution
Allow CSS to change the display width per notebook.
Are you willing to submit a PR?
- Yes
Alternatives
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request