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}
/>
<ResizeBottom>
<OverlayControls
selectedGraphType={cellWorkingType}
onSelectGraphType={this.handleSelectGraphType}
onCancel={onCancel}
onSave={this.handleSaveCell}
/>
<QueryBuilder
queries={queriesWorkingDraft}
actions={queryActions}
autoRefresh={autoRefresh}
timeRange={timeRange}
setActiveQueryIndex={this.handleSetActiveQueryIndex}
onDeleteQuery={this.handleDeleteQuery}
activeQueryIndex={activeQueryIndex}
/>
<div>
<OverlayControls
selectedGraphType={cellWorkingType}
onSelectGraphType={this.handleSelectGraphType}
onCancel={onCancel}
onSave={this.handleSaveCell}
/>
<QueryBuilder
queries={queriesWorkingDraft}
actions={queryActions}
autoRefresh={autoRefresh}
timeRange={timeRange}
setActiveQueryIndex={this.handleSetActiveQueryIndex}
onDeleteQuery={this.handleDeleteQuery}
activeQueryIndex={activeQueryIndex}
/>
</div>
</ResizeBottom>
</ResizeContainer>
</div>