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
Set cursor-pointer for button (#6775)
Sebastian2f6365df8d12
diff --git a/frontend/src/components/editor/chrome/wrapper/sidebar.tsx b/frontend/src/components/editor/chrome/wrapper/sidebar.tsxindex 15ba9a69fb..7b6950ffc9 100644--- a/frontend/src/components/editor/chrome/wrapper/sidebar.tsx+++ b/frontend/src/components/editor/chrome/wrapper/sidebar.tsx@@ -86,7 +86,7 @@ const SidebarItem: React.FC<<Tooltip content={tooltip} side="right" delayDuration={200}><buttonclassName={cn(- "flex items-center p-2 text-sm mx-px shadow-inset font-mono cursor-pointer rounded",+ "flex items-center p-2 text-sm mx-px shadow-inset font-mono rounded",!selected && "hover:bg-(--sage-3)",selected && "bg-(--sage-4)",className,diff --git a/frontend/src/components/editor/inputs/Inputs.styles.ts b/frontend/src/components/editor/inputs/Inputs.styles.tsindex c702c5f497..8515b4640d 100644--- a/frontend/src/components/editor/inputs/Inputs.styles.ts+++ b/frontend/src/components/editor/inputs/Inputs.styles.ts@@ -3,7 +3,7 @@ import { cva } from "class-variance-authority";import "./Inputs.css";export const button = cva(- "flex items-center justify-center m-0 leading-none font-medium border border-foreground/10 shadow-xs-solid hover:cursor-pointer active:shadow-none dark:border-border text-sm",+ "flex items-center justify-center m-0 leading-none font-medium border border-foreground/10 shadow-xs-solid active:shadow-none dark:border-border text-sm",{variants: {color: {diff --git a/frontend/src/css/globals.css b/frontend/src/css/globals.cssindex 7235ee9de3..5a05e6f270 100644--- a/frontend/src/css/globals.css+++ b/frontend/src/css/globals.css@@ -135,6 +135,11 @@a.hyperlink:hover {text-decoration: underline;}++ button:not(:disabled),+ [role="button"]:not(:disabled) {+ cursor: pointer;+ }}@theme {diff --git a/frontend/src/plugins/impl/FileBrowserPlugin.tsx b/frontend/src/plugins/impl/FileBrowserPlugin.tsxindex 7c19dfe6dd..f23f433ddf 100644--- a/frontend/src/plugins/impl/FileBrowserPlugin.tsx+++ b/frontend/src/plugins/impl/FileBrowserPlugin.tsx@@ -475,9 +475,7 @@ export const FileBrowser = ({selected</span><button- className={cn(- "text-xs text-destructive hover:underline cursor-pointer",- )}+ className={cn("text-xs text-destructive hover:underline")}onClick={() => setValue([])}type="button">diff --git a/frontend/src/plugins/impl/FileUploadPlugin.tsx b/frontend/src/plugins/impl/FileUploadPlugin.tsxindex a28fdbace3..524bec4513 100644--- a/frontend/src/plugins/impl/FileUploadPlugin.tsx+++ b/frontend/src/plugins/impl/FileUploadPlugin.tsx@@ -210,9 +210,7 @@ export const FileUpload = (props: FileUploadProps): JSX.Element => {</Tooltip><button- className={cn(- "text-xs cursor-pointer text-destructive hover:underline",- )}+ className={cn("text-xs text-destructive hover:underline")}onClick={() => setValue([])}type="button">