diff --git a/src/components/entity/ha-chart-base.js b/src/components/entity/ha-chart-base.js index 1007de090c..8ddcd75f13 100644 --- a/src/components/entity/ha-chart-base.js +++ b/src/components/entity/ha-chart-base.js @@ -85,6 +85,10 @@ class HaChartBase extends mixinBehaviors( text-align: center; font-weight: 500; } + .chartTooltip .beforeBody { + text-align: center; + font-weight: 300; + } .chartLegend li { display: inline-block; padding: 0 6px; @@ -139,6 +143,9 @@ class HaChartBase extends mixinBehaviors( style$="opacity:[[tooltip.opacity]]; top:[[tooltip.top]]; left:[[tooltip.left]]; padding:[[tooltip.yPadding]]px [[tooltip.xPadding]]px" >
[[tooltip.title]]
+