Restore hui-iframe-card.ts

This commit is contained in:
Zack Barett 2020-11-03 22:59:27 -06:00 committed by GitHub
parent f5d3237b06
commit 3d0f492d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ export class HuiIframeCard extends LitElement implements LovelaceCard {
public getCardSize(): number {
if (!this._config) {
return 5;
return 3;
}
const aspectRatio = this._config.aspect_ratio
? Number(this._config.aspect_ratio.replace("%", ""))