From 9e4f898f54bdc18f99a06313466906d9555306a0 Mon Sep 17 00:00:00 2001 From: Cristhian Zanforlin Lousa Date: Wed, 31 May 2023 21:38:06 -0300 Subject: [PATCH] Changing the mouse cursor on Canva's React Flow --- src/frontend/src/index.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/frontend/src/index.css b/src/frontend/src/index.css index 899fb1c87..84ede36f1 100644 --- a/src/frontend/src/index.css +++ b/src/frontend/src/index.css @@ -15,3 +15,11 @@ code { font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace; } + +/* +The style below sets the cursor property of the element with the class .react-flow__pane to the default cursor. +The cursor: default; property value restores the browser's default cursor style for the targeted element. By applying this style, the element will no longer have a custom cursor appearance such as "grab" or any other custom cursor defined elsewhere in the application. Instead, it will revert to the default cursor style determined by the browser, typically an arrow-shaped cursor. +*/ +.react-flow__pane{ + cursor: default; +} \ No newline at end of file