refactor(nodes): no fix width for wrapper node

This commit is contained in:
moklick
2019-07-24 10:32:03 +02:00
parent 4ab04a4379
commit 31c1f562fb
4 changed files with 6 additions and 4 deletions

View File

@@ -5,7 +5,8 @@ import Handle from '../Handle';
const nodeStyles = {
background: '#ff6060',
padding: 10,
borderRadius: 5
borderRadius: 5,
width: 150
};
export default ({ data, style }) => (

View File

@@ -5,7 +5,8 @@ import Handle from '../Handle';
const nodeStyles = {
background: '#9999ff',
padding: 10,
borderRadius: 5
borderRadius: 5,
width: 150
};
export default ({ data, style }) => (

View File

@@ -5,7 +5,8 @@ import Handle from '../Handle';
const nodeStyles = {
background: '#55ff99',
padding: 10,
borderRadius: 5
borderRadius: 5,
width: 150
};
export default ({ data, style }) => (

View File

@@ -58,7 +58,6 @@
.react-graph__node {
position: absolute;
width: 150px;
color: #222;
font-family: sans-serif;
font-size: 12px;