mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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(
|
||||
"ui.panel.lovelace.editor.card.config.optional"
|
||||
)})"
|
||||
type="number"
|
||||
.value="${Number(this._aspect_ratio.replace("%", ""))}"
|
||||
.value="${this._aspect_ratio.replace("%", "")}"
|
||||
.configValue="${"aspect_ratio"}"
|
||||
@value-changed="${this._valueChanged}"
|
||||
></paper-input>
|
||||
><div slot="suffix">%</div></paper-input
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user