adjust font

This commit is contained in:
Anup Kumar
2020-03-21 23:45:05 +01:00
parent c4bbda6958
commit 867c2c919c
2 changed files with 4 additions and 7 deletions
@@ -115,14 +115,11 @@ export default {
let x = 0;
let y = 0;
let translateX = 0;
let clientH = 0;
let clientW = 0;
const gElem = svg[0][0];
const svgElem = gElem.parentNode;
clientH = svgElem.clientHeight;
clientW = svgElem.clientWidth;
const clientH = svgElem.clientHeight;
const clientW = svgElem.clientWidth;
y = parseInt(clientH * 0.9);
x = parseInt(clientW * 0.6);
translateX = parseInt(clientW * 0.15);
@@ -132,7 +129,7 @@ export default {
gElem.setAttribute("transform", "translate(" + translateX + ", 5)");
const tree = d3.layout.tree().size([y, x]);
const diagonal = d3.svg.diagonal().projection(d => {
return [d.y, d.x];
});
+1 -1
View File
@@ -1661,7 +1661,7 @@ body.reports {
stroke-width: 0.1rem;
}
text {
font: 0.35rem sans-serif;
font: 0.4rem sans-serif;
}
}