better font behaviour

This commit is contained in:
DhammaCharts 2022-06-02 08:35:28 +01:00
parent e9d9a6cfb9
commit 4bdfbcfbfb

View File

@ -190,7 +190,7 @@ async function drawGraph(baseUrl,isHome,pathColors,graphConfig) {
// highlight links
linkNodes.transition().duration(200).attr("stroke", "var(--g-link-active)")
const bigFont = fontSize+0.5
const bigFont = fontSize*1.5
// show text for self
d3.select(this.parentNode)