ResizeContainer only works on a single top-level element.

pull/10616/head
Hunter Trujillo 2017-04-07 14:30:57 -06:00
parent 2da2e017c9
commit 8c4cd3a889
1 changed files with 17 additions and 15 deletions

View File

@ -117,21 +117,23 @@ class CellEditorOverlay extends Component {
cellName={cellWorkingName} cellName={cellWorkingName}
/> />
<ResizeBottom> <ResizeBottom>
<OverlayControls <div>
selectedGraphType={cellWorkingType} <OverlayControls
onSelectGraphType={this.handleSelectGraphType} selectedGraphType={cellWorkingType}
onCancel={onCancel} onSelectGraphType={this.handleSelectGraphType}
onSave={this.handleSaveCell} onCancel={onCancel}
/> onSave={this.handleSaveCell}
<QueryBuilder />
queries={queriesWorkingDraft} <QueryBuilder
actions={queryActions} queries={queriesWorkingDraft}
autoRefresh={autoRefresh} actions={queryActions}
timeRange={timeRange} autoRefresh={autoRefresh}
setActiveQueryIndex={this.handleSetActiveQueryIndex} timeRange={timeRange}
onDeleteQuery={this.handleDeleteQuery} setActiveQueryIndex={this.handleSetActiveQueryIndex}
activeQueryIndex={activeQueryIndex} onDeleteQuery={this.handleDeleteQuery}
/> activeQueryIndex={activeQueryIndex}
/>
</div>
</ResizeBottom> </ResizeBottom>
</ResizeContainer> </ResizeContainer>
</div> </div>