Fix node text appearance
This commit is contained in:
parent
b595301520
commit
1b6caddb85
|
@ -497,8 +497,13 @@ const SinkText = ({ dgo, pai, state, selected }) => r(React.Fragment, [
|
||||||
title: pai.name,
|
title: pai.name,
|
||||||
}, pai.description),
|
}, pai.description),
|
||||||
]),
|
]),
|
||||||
!selected && r(VolumeThumbnail, { pai, state }),
|
|
||||||
selected && r(VolumeControls, { pai, state }),
|
r.div({
|
||||||
|
className: 'node-main',
|
||||||
|
}, [
|
||||||
|
r(selected ? VolumeControls : VolumeThumbnail, { pai, state }),
|
||||||
|
]),
|
||||||
|
|
||||||
r(RemoteTunnelInfo, { pai }),
|
r(RemoteTunnelInfo, { pai }),
|
||||||
r(DebugText, { dgo, pai, state }),
|
r(DebugText, { dgo, pai, state }),
|
||||||
]);
|
]);
|
||||||
|
@ -519,8 +524,13 @@ const SourceText = ({ dgo, pai, state, selected }) => r(React.Fragment, [
|
||||||
title: pai.name,
|
title: pai.name,
|
||||||
}, pai.description),
|
}, pai.description),
|
||||||
]),
|
]),
|
||||||
!selected && r(VolumeThumbnail, { pai, state }),
|
|
||||||
selected && r(VolumeControls, { pai, state }),
|
r.div({
|
||||||
|
className: 'node-main',
|
||||||
|
}, [
|
||||||
|
r(selected ? VolumeControls : VolumeThumbnail, { pai, state }),
|
||||||
|
]),
|
||||||
|
|
||||||
r(RemoteTunnelInfo, { pai }),
|
r(RemoteTunnelInfo, { pai }),
|
||||||
r(DebugText, { dgo, pai, state }),
|
r(DebugText, { dgo, pai, state }),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user