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.

ui: create cell button, collapse strokes/size (#7448)

Akshay Agrawalac54b112616b
diff --git a/frontend/src/components/editor/cell/CreateCellButton.tsx b/frontend/src/components/editor/cell/CreateCellButton.tsx
index 7d25087a6e..b6e90dbb58 100644
--- a/frontend/src/components/editor/cell/CreateCellButton.tsx
+++ b/frontend/src/components/editor/cell/CreateCellButton.tsx
@@ -120,12 +120,11 @@ export const CreateCellButton = ({
)}
onMouseDown={Events.preventFocus}
size="small"
- color="hint-green"
data-testid="create-cell-button"
>
<Tooltip content={finalTooltipContent}>
<PlusIcon
- strokeWidth={3}
+ strokeWidth={1.8}
size={14}
className="opacity-60 hover:opacity-90"
/>
diff --git a/frontend/src/components/editor/cell/collapse.tsx b/frontend/src/components/editor/cell/collapse.tsx
index 1b3a6c3175..53adb8ff1a 100644
--- a/frontend/src/components/editor/cell/collapse.tsx
+++ b/frontend/src/components/editor/cell/collapse.tsx
@@ -44,9 +44,17 @@ export const CollapseToggle: React.FC<Props> = (props) => {
const Arrow = ({ isCollapsed }: { isCollapsed: boolean }) => {
return isCollapsed ? (
- <ChevronRightIcon className="w-5 h-5 shrink-0 opacity-60" strokeWidth={2} />
+ <ChevronRightIcon
+ className="shrink-0 opacity-60"
+ strokeWidth={1.8}
+ size={14}
+ />
) : (
- <ChevronDownIcon className="w-5 h-5 shrink-0 opacity-60" strokeWidth={2} />
+ <ChevronDownIcon
+ className="shrink-0 opacity-60"
+ strokeWidth={1.8}
+ size={14}
+ />
);
};