diff --git a/elements/web-container/web-container.js b/elements/web-container/web-container.js index 3c8b8f797c..e4ffe36ac3 100644 --- a/elements/web-container/web-container.js +++ b/elements/web-container/web-container.js @@ -207,7 +207,7 @@ export class WebContainerEl extends DDDSuper(LitElement) { } iframe { width: 100%; - height: var(--web-container-height, 500px); + height: var(--web-container-iframe-height, 500px); border: none; background-color: transparent; } @@ -215,7 +215,7 @@ export class WebContainerEl extends DDDSuper(LitElement) { .terminal { padding: 0; margin: 0; - height: var(--web-container-height, 200px); + height: var(--web-container-terminal-height, 200px); overflow: hidden; } /** @@ -444,10 +444,10 @@ export class WebContainerEl extends DDDSuper(LitElement) { return html`
- ${!this.hideWindow ? html``: ``} + ${!this.hideWindow ? html``: ``}
-
`; +
`; } /**