pond: State background
This commit is contained in:
parent
2229fae79d
commit
683a2fb993
@ -36,6 +36,14 @@
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.State {
|
||||
background: #f9be77;
|
||||
user-select: text;
|
||||
font-family: monospace;
|
||||
min-width: 40em;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.CristalScroll {
|
||||
display: flex;
|
||||
min-width: 100%;
|
||||
|
@ -15,7 +15,7 @@ class State extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const content = <div>
|
||||
const content = <div className="State">
|
||||
<div>Balance: {this.state.Balance}</div>
|
||||
<div>---</div>
|
||||
<div>{Object.keys(this.state.State).map(k => <div key={k}>{k}: <span>{JSON.stringify(this.state.State[k])}</span></div>)}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user