mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 01:06:35 +00:00
Prevent unwanted line breaks in picture-glance tooltips (#8819)
This commit is contained in:
parent
7aae55cde7
commit
cc275f9877
@ -255,13 +255,11 @@ class HuiPictureGlanceCard extends LitElement implements LovelaceCard {
|
||||
"state-on": !STATES_OFF.has(stateObj.state),
|
||||
})}
|
||||
.icon=${entityConf.icon || stateIcon(stateObj)}
|
||||
title=${`
|
||||
${computeStateName(stateObj)} : ${computeStateDisplay(
|
||||
title=${`${computeStateName(stateObj)} : ${computeStateDisplay(
|
||||
this.hass!.localize,
|
||||
stateObj,
|
||||
this.hass!.locale
|
||||
)}
|
||||
`}
|
||||
)}`}
|
||||
></ha-icon-button>
|
||||
${this._config!.show_state !== true && entityConf.show_state !== true
|
||||
? html`<div class="state"></div>`
|
||||
|
Loading…
x
Reference in New Issue
Block a user