Skip to content

Commit

Permalink
make margin consistent (#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
yileic authored and mistercrunch committed May 12, 2017
1 parent 75abd1f commit 818251f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset/assets/visualizations/directed_force.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require('./directed_force.css');
const directedForceVis = function (slice, json) {
const div = d3.select(slice.selector);
const width = slice.width();
const height = slice.height() - 25;
const height = slice.height();
const fd = slice.formData;
const linkLength = fd.link_length || 200;
const charge = fd.charge || -500;
Expand Down
2 changes: 1 addition & 1 deletion superset/assets/visualizations/nvd3_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function nvd3Vis(slice, payload) {
}
}

let height = slice.height() - 15;
let height = slice.height();
if (vizType === 'bullet') {
height = Math.min(height, 50);
}
Expand Down

0 comments on commit 818251f

Please sign in to comment.