feat(node-toolbar): remove css from node-toolbar component, set version to 1.0.0

This commit is contained in:
Christopher Möller
2022-11-17 09:59:28 +01:00
parent 1841dfa2ca
commit b31d8e9dc2
4 changed files with 4 additions and 10 deletions
+2 -1
View File
@@ -82,8 +82,9 @@ function NodeToolbar({
const nodeRect: Rect = getRectOfNodes([node], nodeOrigin);
const wrapperStyle: CSSProperties = {
position: 'absolute',
transform: getTransform(nodeRect, transform, position, offset),
zIndex: node[internalsSymbol]?.z,
zIndex: (node[internalsSymbol]?.z || 1) + 1,
...style,
};
-4
View File
@@ -1,4 +0,0 @@
.react-flow__node-toolbar {
position: absolute;
z-index: 1000;
}