mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
Use @vx/responsive to provide Chart width on Explore page (#6104)
* use parent size to compute width * simplify this.width() and this.height() * remove unnecessary jquery * fix indent and import * adjust headerheight from 100 to 80 * fix test
This commit is contained in:
committed by
Chris Williams
parent
bbfd69a138
commit
273991fd4e
@@ -3,7 +3,7 @@ import React from 'react';
|
||||
import { shallow, mount } from 'enzyme';
|
||||
import sinon from 'sinon';
|
||||
|
||||
import ParentSize from '@vx/responsive/build/components/ParentSize';
|
||||
import { ParentSize } from '@vx/responsive';
|
||||
import { Sticky, StickyContainer } from 'react-sticky';
|
||||
import { TabContainer, TabContent, TabPane } from 'react-bootstrap';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user