diff --git a/app/components/GlobalError/GlobalError.scss b/app/components/GlobalError/GlobalError.scss index 5486c7fc..d9fe4b72 100644 --- a/app/components/GlobalError/GlobalError.scss +++ b/app/components/GlobalError/GlobalError.scss @@ -13,6 +13,10 @@ &.closed { max-height: 0; padding: 0; + + .content .close { + opacity: 0; + } } .content { diff --git a/app/components/Network/NetworkGraph.js b/app/components/Network/NetworkGraph.js index 6b99b9d9..fe5621e5 100644 --- a/app/components/Network/NetworkGraph.js +++ b/app/components/Network/NetworkGraph.js @@ -22,6 +22,7 @@ class NetworkGraph extends Component { const { ready } = this.state const { network: { nodes, edges, selectedChannel, networkLoading }, + selectedPeerPubkeys, identity_pubkey, } = this.props @@ -53,16 +54,17 @@ class NetworkGraph extends Component { zoomOptions={{ minScale: 0.1, maxScale: 5, scale: 0.2 }} zoom > - { nodes.map(node => { return ( ) }) diff --git a/app/components/Network/NetworkGraph.scss b/app/components/Network/NetworkGraph.scss index 8613aa44..09db9dc0 100644 --- a/app/components/Network/NetworkGraph.scss +++ b/app/components/Network/NetworkGraph.scss @@ -26,25 +26,30 @@ } } -.container { - width: 100%; - height: 100vh; - animation: fadein 0.5s; - animation-timing-function:linear; - animation-fill-mode:forwards; - animation-iteration-count: 1; - - line.active { - opacity: 1; - stroke: green; - stroke-width: 5; - stroke-dasharray: 100; - animation: dash 2.5s infinite linear; - } - - circle { - cursor: pointer; - } +// .container { +// width: 100%; +// height: 100vh; +// animation: fadein 0.5s; +// animation-timing-function:linear; +// animation-fill-mode:forwards; +// animation-iteration-count: 1; + +// line.active { +// opacity: 1; +// stroke: green; +// stroke-width: 5; +// stroke-dasharray: 100; +// animation: dash 2.5s infinite linear; +// } + +// circle { +// cursor: pointer; +// stroke-width: 2 !important; +// } +// } + +.node { + stroke-width: 2 !important; } .network { diff --git a/app/components/Network/PeersList.js b/app/components/Network/PeersList.js index d74bf804..230a3aa7 100644 --- a/app/components/Network/PeersList.js +++ b/app/components/Network/PeersList.js @@ -2,12 +2,12 @@ import React from 'react' import PropTypes from 'prop-types' import styles from './PeersList.scss' -const PeersList = ({ peers }) => ( +const PeersList = ({ peers, updateSelectedPeers, selectedPeerPubkeys }) => (