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: markdown clamping again (#5040)

Myles Scolnick870ad24bb27e
diff --git a/frontend/src/components/editor/output/Outputs.css b/frontend/src/components/editor/output/Outputs.css
index 665b1bb58a..e750a3d89f 100644
--- a/frontend/src/components/editor/output/Outputs.css
+++ b/frontend/src/components/editor/output/Outputs.css
@@ -26,6 +26,14 @@
max-width: 100%;
}
+.output {
+ /* Unset max-width on .markdown. Instead, we will apply
+ to individual elements so it does not affect UI elements in markdown. */
+ .markdown {
+ max-width: unset;
+ }
+}
+
.stdout,
.stderr,
.marimo-error {