diff --git a/src/Visualization2.js b/src/Visualization2.js index 6acaa49..fe3c4a5 100644 --- a/src/Visualization2.js +++ b/src/Visualization2.js @@ -313,7 +313,8 @@ const Visualization2 = ({ textOverflow: "ellipsis", whiteSpace: "nowrap", color: layout === "bars" ? colors.text : colors.textTree, - padding: layout === "bars" ? 0 : "0.25rem" + padding: layout === "bars" ? 0 : "0.25rem", + lineHeight: "initial" }} > @@ -322,7 +323,7 @@ const Visualization2 = ({ ? moreLabel : title.replace(/"/g, "")) : null} {((subItem.data.data.size).toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ")) } personer -
{Math.round((subItem.data.data.size / subItem.data.data.total)*100)} %
+{Math.round((subItem.data.data.size / subItem.data.data.total)*100)} %
}