mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Webpage Card: Fix Aspect Ratio in Editor (#5210)
* fix Ifram editor * suffix
This commit is contained in:
parent
447d4604c6
commit
5197f102ea
@ -81,11 +81,11 @@ export class HuiIframeCardEditor extends LitElement
|
|||||||
)} (${this.hass.localize(
|
)} (${this.hass.localize(
|
||||||
"ui.panel.lovelace.editor.card.config.optional"
|
"ui.panel.lovelace.editor.card.config.optional"
|
||||||
)})"
|
)})"
|
||||||
type="number"
|
.value="${this._aspect_ratio.replace("%", "")}"
|
||||||
.value="${Number(this._aspect_ratio.replace("%", ""))}"
|
|
||||||
.configValue="${"aspect_ratio"}"
|
.configValue="${"aspect_ratio"}"
|
||||||
@value-changed="${this._valueChanged}"
|
@value-changed="${this._valueChanged}"
|
||||||
></paper-input>
|
><div slot="suffix">%</div></paper-input
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user