From c77c6963c807fdf3ef2cd57d645f4d0df8af8d5f Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Mon, 19 Aug 2024 17:06:06 +0300 Subject: [PATCH] feat(editor): Update cursor behaviour in new canvas (no-changelog) (#10472) --- .../src/styles/plugins/_vueflow.scss | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/packages/editor-ui/src/styles/plugins/_vueflow.scss b/packages/editor-ui/src/styles/plugins/_vueflow.scss index 08ba0e938d974..3f0eff92a9e33 100644 --- a/packages/editor-ui/src/styles/plugins/_vueflow.scss +++ b/packages/editor-ui/src/styles/plugins/_vueflow.scss @@ -23,3 +23,25 @@ opacity: 0.2; } } + +.vue-flow__pane { + &, + &.draggable { + cursor: default; + } + + &.dragging { + cursor: grabbing; + } +} + +.vue-flow__node { + &, + &.draggable { + cursor: pointer; + } + + &.dragging { + cursor: grabbing; + } +}