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: only add borderless css when not published (#3066)
Shahmir Varqha8edac6e7aecc
diff --git a/frontend/src/components/editor/Cell.tsx b/frontend/src/components/editor/Cell.tsxindex 7fa58a519b..a78cdc2ab4 100644--- a/frontend/src/components/editor/Cell.tsx+++ b/frontend/src/components/editor/Cell.tsx@@ -421,7 +421,7 @@ const CellComponent = (stopped: stopped,disabled: cellConfig.disabled,stale: status === "disabled-transitively",- borderless: isMarkdownCodeHidden,+ borderless: isMarkdownCodeHidden && editing,});const HTMLId = HTMLCellId.create(cellId);diff --git a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsxindex e1c0d7ad51..f1340f77f6 100644--- a/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx+++ b/frontend/src/components/editor/renderers/vertical-layout/vertical-layout.tsx@@ -259,12 +259,13 @@ const VerticalCell = memo(const kioskFull = kiosk && mode !== "present";const isPureMarkdown = new MarkdownLanguageAdapter().isSupported(code);+ const published = !showCode && !kioskFull;const className = cn("Cell", "hover-actions-parent empty:invisible", {- published: !showCode && !kioskFull,+ published: published,interactive: mode === "edit","has-error": errored,stopped: stopped,- borderless: isPureMarkdown,+ borderless: isPureMarkdown && !published,});const HTMLId = HTMLCellId.create(cellId);