Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(flowCanvasStyles): correct CSS class name for flow canvas container

Steven Enamakel17ee8b7bfea3
diff --git a/app/src/components/flows/canvas/flowCanvasStyles.css b/app/src/components/flows/canvas/flowCanvasStyles.css
index 6c5fcca9b0..3f967a08cf 100644
--- a/app/src/components/flows/canvas/flowCanvasStyles.css
+++ b/app/src/components/flows/canvas/flowCanvasStyles.css
@@ -23,8 +23,11 @@
isolation: isolate;
}
+/* The canvas sits in a framed card beside the side panel, so it takes the
+ app's card surface rather than `--surface-canvas` (pure black on the dark
+ theme, which read as a hole in the page). */
.flow-canvas .react-flow__background {
- background-color: rgb(var(--surface-canvas));
+ background-color: rgb(var(--surface));
}
.flow-canvas .react-flow__background pattern circle {