From 4e841c4a06c25378f0edb7d2a2e12592af8a40eb Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 21 Feb 2023 15:07:53 +0100 Subject: [PATCH] fix more info history tooltips (#15533) --- src/dialogs/more-info/ha-more-info-dialog.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dialogs/more-info/ha-more-info-dialog.ts b/src/dialogs/more-info/ha-more-info-dialog.ts index 77adbfff55..83cb151925 100644 --- a/src/dialogs/more-info/ha-more-info-dialog.ts +++ b/src/dialogs/more-info/ha-more-info-dialog.ts @@ -350,8 +350,9 @@ export class MoreInfoDialog extends LitElement { haStyleDialog, css` ha-dialog { + /* This is needed for the tooltip of the history charts to be positioned correctly */ --dialog-surface-position: static; - --dialog-content-position: relative; + --dialog-content-position: static; --vertical-align-dialog: flex-start; --dialog-content-padding: 0; --content-padding: 24px;