Fix tooltip more info (#23605)

This commit is contained in:
Bram Kragten 2025-01-06 17:56:38 +01:00 committed by GitHub
parent ffff7970f5
commit ebcee7680a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,12 +38,11 @@ class StateInfo extends LitElement {
${this.inDialog
? html`<div class="time-ago">
<ha-relative-time
id="last_changed"
.hass=${this.hass}
.datetime=${this.stateObj.last_changed}
capitalize
></ha-relative-time>
<simple-tooltip animation-delay="0" for="last_changed">
<simple-tooltip animation-delay="0">
<div>
<div class="row">
<span class="column-name">
@ -99,6 +98,7 @@ class StateInfo extends LitElement {
height: 100%;
min-width: 0;
text-align: var(--float-start);
position: relative;
}
.name {