You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a widget that needs to wide and tall and be displayed alongside my code as I scroll down the notebook.
I thought I could put the widget in a sidebar so it's always visible and out of the way of my code, but the width of the sidebar is just too narrow to properly see the widget.
Suggested solution
I think it'd be good to have a default width parameter to the sidebar layout, as well as a boolean flag to make the width adjustable by dragging the divider.
Alternative
I've tried looking at the CSS to see if I can adjust it from within my widget to accomplish my goals, but I'm not skilled enough to figure it out apparently.
Additional context
Widget needs to be wider:
The text was updated successfully, but these errors were encountered:
- Add width parameter to mo.sidebar() Python API
- Implement width configuration through data-width attribute
- Add unit tests for width configuration
- Use inline styles for dynamic width instead of Tailwind classes
Co-Authored-By: Myles Scolnick <myles@marimo.io>
Description
I have a widget that needs to wide and tall and be displayed alongside my code as I scroll down the notebook.
I thought I could put the widget in a sidebar so it's always visible and out of the way of my code, but the width of the sidebar is just too narrow to properly see the widget.
Suggested solution
I think it'd be good to have a default width parameter to the sidebar layout, as well as a boolean flag to make the width adjustable by dragging the divider.
Alternative
I've tried looking at the CSS to see if I can adjust it from within my widget to accomplish my goals, but I'm not skilled enough to figure it out apparently.
Additional context
Widget needs to be wider:
The text was updated successfully, but these errors were encountered: