feat(node-toolbar): remove css from node-toolbar component, set version to 1.0.0
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
.react-flow__node-toolbar {
|
||||
position: absolute;
|
||||
z-index: 1000;
|
||||
}
|
||||
Reference in New Issue
Block a user