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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
fix: minor fixes to the data-table (#9100)
Kiran Gadhavee875bd995847
diff --git a/frontend/src/components/data-table/TableTopBar.tsx b/frontend/src/components/data-table/TableTopBar.tsxindex 048d98b84d..9782ef8538 100644--- a/frontend/src/components/data-table/TableTopBar.tsx+++ b/frontend/src/components/data-table/TableTopBar.tsx@@ -127,7 +127,7 @@ export const TableTopBar: React.FC<TableTopBarProps> = ({onClick={() => togglePanel(PANEL_TYPES.ROW_VIEWER)}><PanelRightIcon className="w-3.5 h-3.5" />- Explorer+ Explore</Button>)}{downloadAs && <ExportMenu downloadAs={downloadAs} />}diff --git a/frontend/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx b/frontend/src/components/data-table/table-explorer-panel/table-explorer-panel.tsxindex ed86a30e29..0b5299e458 100644--- a/frontend/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx+++ b/frontend/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx@@ -139,7 +139,7 @@ export const TableExplorerPanel: React.FC<TableExplorerPanelProps> = ({: inactiveClassName,)}>- Explorer+ Columns</Button></div></Fill>diff --git a/frontend/src/css/table.css b/frontend/src/css/table.cssindex 68b39d16b2..c6bf9fc921 100644--- a/frontend/src/css/table.css+++ b/frontend/src/css/table.css@@ -17,6 +17,10 @@padding-right: var(--marimo-table-edge-padding, 0.375rem);}+[part="label"] {+ padding-left: var(--marimo-table-edge-padding, 0);+}+.markdown table,table.dataframe {display: block;diff --git a/frontend/src/plugins/impl/common/labeled.tsx b/frontend/src/plugins/impl/common/labeled.tsxindex 5b42621e72..30dd86001e 100644--- a/frontend/src/plugins/impl/common/labeled.tsx+++ b/frontend/src/plugins/impl/common/labeled.tsx@@ -44,9 +44,11 @@ export const Labeled: React.FC<PropsWithChildren<Props>> = ({}const labelElement = (- <Label htmlFor={id} className={cn("font-prose", labelClassName)}>- {renderHTML({ html: label })}- </Label>+ <div part="label" className="m-0 p-0">+ <Label htmlFor={id} className={cn("font-prose", labelClassName)}>+ {renderHTML({ html: label })}+ </Label>+ </div>);return (