Skip to content

Commit

Permalink
webcon
Browse files Browse the repository at this point in the history
  • Loading branch information
btopro committed Oct 18, 2024
1 parent f594e7d commit e43337e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions elements/web-container/web-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,15 +207,15 @@ 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;
}
.terminal {
padding: 0;
margin: 0;
height: var(--web-container-height, 200px);
height: var(--web-container-terminal-height, 200px);
overflow: hidden;
}
/**
Expand Down Expand Up @@ -444,10 +444,10 @@ export class WebContainerEl extends DDDSuper(LitElement) {
return html`
<div class="container">
<div class="preview">
${!this.hideWindow ? html`<iframe src="${new URL('./lib/loading.html', import.meta.url).href}"></iframe>`: ``}
${!this.hideWindow ? html`<iframe part="iframe" src="${new URL('./lib/loading.html', import.meta.url).href}"></iframe>`: ``}
</div>
</div>
<div class="terminal"></div>`;
<div class="terminal" part="terminal"></div>`;
}

/**
Expand Down

0 comments on commit e43337e

Please sign in to comment.