Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: altair overflow styling (#3024)

Myles Scolnick0be51d3e3a21
diff --git a/frontend/src/plugins/impl/vega/vega.css b/frontend/src/plugins/impl/vega/vega.css
index 7e592df1e5..cfda9be013 100644
--- a/frontend/src/plugins/impl/vega/vega.css
+++ b/frontend/src/plugins/impl/vega/vega.css
@@ -4,6 +4,10 @@
flex: 1;
}
+.vega-embed > .chart-wrapper {
+ overflow-x: auto;
+}
+
/* This may have bad performance, but it's the only way I can get the vega chart to fill the space. */
div:has(> marimo-ui-element > marimo-vega) {
display: block !important;