diff --git a/src/mol-plugin/ui/plugin.tsx b/src/mol-plugin/ui/plugin.tsx index f29ed9fb5eb5d3d431318af510bb3e805bc554d3..4ef23dd07f35c1377e00b4694221faf0749abede 100644 --- a/src/mol-plugin/ui/plugin.tsx +++ b/src/mol-plugin/ui/plugin.tsx @@ -82,13 +82,13 @@ export class State extends PluginComponent { render() { const kind = this.plugin.state.behavior.kind.value; - return <> + return <div className='msp-scrollable-container'> <div className='msp-btn-row-group msp-data-beh'> <button className='msp-btn msp-btn-block msp-form-control' onClick={() => this.set('data')} style={{ fontWeight: kind === 'data' ? 'bold' : 'normal'}}>Data</button> <button className='msp-btn msp-btn-block msp-form-control' onClick={() => this.set('behavior')} style={{ fontWeight: kind === 'behavior' ? 'bold' : 'normal'}}>Behavior</button> </div> <StateTree state={kind === 'data' ? this.plugin.state.dataState : this.plugin.state.behaviorState} /> - </> + </div> } }