Hoist integration card tooltips (#25679)

This commit is contained in:
karwosts 2025-06-03 12:41:27 -07:00 committed by GitHub
parent 42d8b2ae19
commit 02bb7086e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -163,6 +163,7 @@ export class HaIntegrationCard extends LitElement {
: "custom"}" : "custom"}"
> >
<ha-tooltip <ha-tooltip
hoist
.placement=${computeRTL(this.hass) ? "right" : "left"} .placement=${computeRTL(this.hass) ? "right" : "left"}
.content=${this.hass.localize( .content=${this.hass.localize(
this.manifest.overwrites_built_in this.manifest.overwrites_built_in
@ -177,6 +178,7 @@ export class HaIntegrationCard extends LitElement {
${this.manifest && this.manifest.iot_class?.startsWith("cloud_") ${this.manifest && this.manifest.iot_class?.startsWith("cloud_")
? html`<div class="icon cloud"> ? html`<div class="icon cloud">
<ha-tooltip <ha-tooltip
hoist
.placement=${computeRTL(this.hass) ? "right" : "left"} .placement=${computeRTL(this.hass) ? "right" : "left"}
.content=${this.hass.localize( .content=${this.hass.localize(
"ui.panel.config.integrations.config_entry.depends_on_cloud" "ui.panel.config.integrations.config_entry.depends_on_cloud"
@ -191,6 +193,7 @@ export class HaIntegrationCard extends LitElement {
!this.items.every((itm) => itm.source === "system") !this.items.every((itm) => itm.source === "system")
? html`<div class="icon yaml"> ? html`<div class="icon yaml">
<ha-tooltip <ha-tooltip
hoist
.placement=${computeRTL(this.hass) ? "right" : "left"} .placement=${computeRTL(this.hass) ? "right" : "left"}
.content=${this.hass.localize( .content=${this.hass.localize(
"ui.panel.config.integrations.config_entry.no_config_flow" "ui.panel.config.integrations.config_entry.no_config_flow"