Skip to content

Commit

Permalink
feat: update cursor in vueflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgrozav committed Aug 16, 2024
1 parent 9d6ad88 commit 5c4ccea
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/editor-ui/src/styles/plugins/_vueflow.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,25 @@
fill: var(--color-background-dark);
}
}

.vue-flow__pane {
&,
&.draggable {
cursor: default;
}

&.dragging {
cursor: grabbing;
}
}

.vue-flow__node {
&,
&.draggable {
cursor: pointer;
}

&.dragging {
cursor: grabbing;
}
}

0 comments on commit 5c4ccea

Please sign in to comment.