aboutsummaryrefslogtreecommitdiff
path: root/src/ConnectedIndicator.js
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2018-05-18 10:17:33 +0000
committerMartin Ashby <martin@ashbysoft.com>2018-05-18 10:17:33 +0000
commitc2faad3ac834f622956787c87713ccf6ab9b61e0 (patch)
tree9a361455d455fdbb7adcb2cccb152f9291fd5bdd /src/ConnectedIndicator.js
parentdf173643648d24e49822abb3cd91f519e6161b7f (diff)
parentad570aa798fae952b9f996c8681270693fe4da38 (diff)
downloadunicornpaint-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.js3
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