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
Prevent cells from overlapping notebook controls (#203)
Akshay Agrawal2e0a66d0f4e4
diff --git a/frontend/src/core/hotkeys/hotkeys.ts b/frontend/src/core/hotkeys/hotkeys.tsindex 3774fe147f..8b7d9107b3 100644--- a/frontend/src/core/hotkeys/hotkeys.ts+++ b/frontend/src/core/hotkeys/hotkeys.ts@@ -166,7 +166,7 @@ const DEFAULT_HOT_KEY = {// Global Actions"global.hideCode": {- name: "Show/Hide code",+ name: "Toggle app view",group: "Other",key: "Mod-.",},diff --git a/frontend/src/editor/Controls.tsx b/frontend/src/editor/Controls.tsxindex baff74c760..58a9fa0f7a 100644--- a/frontend/src/editor/Controls.tsx+++ b/frontend/src/editor/Controls.tsx@@ -1,6 +1,6 @@/* Copyright 2023 Marimo. All rights reserved. */import {- AppWindowIcon,+ LayoutTemplateIcon,SaveIcon,EditIcon,PlayIcon,@@ -120,7 +120,7 @@ export const Controls = ({{presenting ? (<EditIcon strokeWidth={1.5} />) : (- <AppWindowIcon strokeWidth={1.5} />+ <LayoutTemplateIcon strokeWidth={1.5} />)}</Button></Tooltip>@@ -212,4 +212,4 @@ const bottomRightControls ="absolute bottom-5 right-5 flex items-center space-x-3 no-print pointer-events-auto z-30";const bottomLeftControls =- "absolute bottom-5 left-4 m-0 flex items-center space-x-3 no-print pointer-events-auto z-30";+ "absolute bottom-5 left-4 m-0 flex flex-col-reverse xl:flex-row gap-2 items-center no-print pointer-events-auto z-30";diff --git a/frontend/src/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx b/frontend/src/editor/renderers/vertical-layout/vertical-layout-wrapper.tsxindex de52ab6f73..6d6199ed6f 100644--- a/frontend/src/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx+++ b/frontend/src/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx@@ -14,11 +14,11 @@ export const VerticalLayoutWrapper: React.FC<PropsWithChildren<Props>> = ({children,}) => {return (- <div className="px-24">+ <div className="px-32 xl:px-60"><divclassName={cn("m-auto pb-12",- appConfig.width !== "full" && "max-w-contentWidth",+ appConfig.width !== "full" && "max-w-contentWidth min-w-[400px]",// Hide the cells for a fake loading effect, to avoid flickeringinvisible && "invisible")}