mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
make margin consistent (#2753)
This commit is contained in:
committed by
Maxime Beauchemin
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user