mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
make margin consistent (#2753)
This commit is contained in:
parent
75abd1f44a
commit
818251fc85
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user