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: max width on md admonition, details (#4659)

Akshay Agrawal532f7c0f3c9d
diff --git a/frontend/src/components/editor/output/Outputs.css b/frontend/src/components/editor/output/Outputs.css
index 26bd4944a4..5f841e96b1 100644
--- a/frontend/src/components/editor/output/Outputs.css
+++ b/frontend/src/components/editor/output/Outputs.css
@@ -36,7 +36,9 @@
> ul,
> ol,
> blockquote,
+ > details,
div.codehilite,
+ div.admonition,
/* Target <span> that is not empty and does not consist entirely of child elements;
* this makes sure text with embedded HTML (such as a slider) has a max width,
* but standalone elements (like tables, plots) don't get a max width. */