mirror of
https://github.com/home-assistant/frontend.git
synced 2025-08-05 07:27:47 +00:00
Restore hui-iframe-card.ts
This commit is contained in:
parent
f5d3237b06
commit
3d0f492d62
@ -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("%", ""))
|
||||
|
Loading…
x
Reference in New Issue
Block a user