-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change IconOverlay in DataDisplay #972
Conversation
swaterkamp
commented
Sep 25, 2018
- Change appearance of overlay
- Use placeholder in some charts
- Fix x-Axis label in BarChart when FilterTerm is shown
Codecov Report
@@ Coverage Diff @@
## master #972 +/- ##
=========================================
- Coverage 9.12% 9.12% -0.01%
=========================================
Files 819 819
Lines 26743 26748 +5
Branches 5713 5687 -26
=========================================
Hits 2441 2441
- Misses 21961 21966 +5
Partials 2341 2341
Continue to review full report at Codecov.
|
Also change top margin to save space
Changes include: * vertical alignment * lightGray background * blend in and out on hover-on/hover-off * introducing MENU_PLACEHOLDER_WIDTH to be used in the different charts
@@ -29,6 +29,9 @@ import {scaleBand, scaleLinear} from 'd3-scale'; | |||
import {shorten} from 'gmp/utils/string'; | |||
import {isDefined} from 'gmp/utils/identity'; | |||
|
|||
import {MENU_PLACEHOLDER_WIDTH} | |||
from 'web/components/dashboard/display/datadisplay'; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use
import {
MENU_PLACEHOLDER_WIDTH,
} from 'web/components/dashboard/display/datadisplay';
instead or put it into one line and add // eslint-disable-line max-len