diff --git a/src/playground-preview.ts b/src/playground-preview.ts index 44fc28bf..9bc53ff5 100644 --- a/src/playground-preview.ts +++ b/src/playground-preview.ts @@ -49,7 +49,7 @@ export class PlaygroundPreview extends PlaygroundConnectedElement { margin: 0 10px; } - #reload-button { + #actions > mwc-icon-button { --mdc-icon-button-size: 30px; --mdc-icon-size: 18px; } @@ -195,26 +195,49 @@ export class PlaygroundPreview extends PlaygroundConnectedElement { return html`
${this.location} - - - + - - - + + + + + + + + + + + + +
@@ -326,6 +349,10 @@ export class PlaygroundPreview extends PlaygroundConnectedElement { this._showLoadingBar = false; } } + + openPreviewInNewTab() { + window.open(this._indexUrl, '_blank'); + } } declare global {