Update ha-chart-base.ts: fix "Tooltip: a long name may overflow" (#18849)

This commit is contained in:
ildar170975 2023-12-04 16:05:02 +03:00 committed by GitHub
parent 6f240ec681
commit c5f15ee6ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -469,6 +469,7 @@ export class HaChartBase extends LitElement {
.chartTooltip li {
display: flex;
white-space: pre-line;
word-break: break-word;
align-items: center;
line-height: 16px;
padding: 4px 0;
@ -476,6 +477,7 @@ export class HaChartBase extends LitElement {
.chartTooltip .title {
text-align: center;
font-weight: 500;
word-break: break-word;
direction: ltr;
}
.chartTooltip .footer {