diff --git a/components/playground/element.css b/components/playground/element.css
index f4e0a03be..80a5c2ee9 100644
--- a/components/playground/element.css
+++ b/components/playground/element.css
@@ -102,10 +102,35 @@
grid-area: runner;
overflow: hidden;
- mdn-play-runner {
+ mdn-play-runner,
+ .overlay-run-button {
flex-grow: 1;
border: var(--border);
border-radius: 0.25rem;
+
+ &.hidden {
+ display: none;
+ }
+ }
+
+ .overlay-run-button {
+ border-color: currentcolor;
+ }
+
+ .overlay-run-button--header {
+ font-size: clamp(1.5rem, 3vw, 3rem);
+
+ svg {
+ width: clamp(1.5rem, 3vw, 3rem) !important;
+ height: clamp(1.5rem, 3vw, 3rem) !important;
+ vertical-align: bottom;
+ }
+ }
+
+ .overlay-run-button--body {
+ margin-top: 0.5rem;
+ line-height: var(--font-line-normal);
+ color: var(--color-text-secondary);
}
.playground__console {
diff --git a/components/playground/element.js b/components/playground/element.js
index 66b780e4a..36babdb89 100644
--- a/components/playground/element.js
+++ b/components/playground/element.js
@@ -4,6 +4,7 @@ import { createRef, ref } from "lit/directives/ref.js";
import { L10nMixin } from "../../l10n/mixin.js";
import { gleanClick } from "../../utils/glean.js";
+import circlePlay from "../icon/circle-play.svg?lit";
import warningIcon from "../icon/triangle-alert.svg?lit";
import { globalUser } from "../user/context.js";
@@ -66,6 +67,7 @@ export class MDNPlayground extends L10nMixin(LitElement) {
this._autoRun = true;
controller.runOnChange = true;
this._storeSession();
+ this.requestUpdate();
}
}
}
@@ -402,7 +404,23 @@ ${"```"}`,
`
: nothing}
-
{ $url } could not be found.