diff options
author | Martin Ashby <martin@ashbysoft.com> | 2018-05-18 10:17:33 +0000 |
---|---|---|
committer | Martin Ashby <martin@ashbysoft.com> | 2018-05-18 10:17:33 +0000 |
commit | c2faad3ac834f622956787c87713ccf6ab9b61e0 (patch) | |
tree | 9a361455d455fdbb7adcb2cccb152f9291fd5bdd /src/ConnectedIndicator.js | |
parent | df173643648d24e49822abb3cd91f519e6161b7f (diff) | |
parent | ad570aa798fae952b9f996c8681270693fe4da38 (diff) | |
download | unicornpaint-c2faad3ac834f622956787c87713ccf6ab9b61e0.tar.gz unicornpaint-c2faad3ac834f622956787c87713ccf6ab9b61e0.tar.bz2 unicornpaint-c2faad3ac834f622956787c87713ccf6ab9b61e0.tar.xz unicornpaint-c2faad3ac834f622956787c87713ccf6ab9b61e0.zip |
Merge branch 'master' of github.com:MFAshby/unicornpaint
Diffstat (limited to 'src/ConnectedIndicator.js')
-rw-r--r-- | src/ConnectedIndicator.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ConnectedIndicator.js b/src/ConnectedIndicator.js index d4e1686..3296ef9 100644 --- a/src/ConnectedIndicator.js +++ b/src/ConnectedIndicator.js @@ -5,7 +5,8 @@ export default class ConnectedIndicator extends Component { let connectedText = this.props.connected ? "Connected" : "Not connected" let color = this.props.connected ? "green" : "red" return <div><span style={{ - background:color + background:color, + display: "inline-block" }}>{connectedText}</span></div> } }
\ No newline at end of file |