diff --git a/content/patterns/coding/writing-inline-demos.md b/content/patterns/coding/writing-inline-demos.md index 5ee1421..fd959e2 100644 --- a/content/patterns/coding/writing-inline-demos.md +++ b/content/patterns/coding/writing-inline-demos.md @@ -76,7 +76,7 @@ toggle.addEventListener('click', (e) => { ## Launch in a separate window -The "Launch in separate window" takes the demo code and pushes it to a new browser window. This serves two purposes: +The "Launch in separate window" button takes the demo code and pushes it to a new browser window. This serves two purposes: * It provides a fallback for browsers that do not support Shadow DOM encapsulation (a warning message will replace the inline demo). * It creates an isolated test case for the demo, allowing you to run browser extensions and bookmarklets on the the demo code and _just_ the demo code. diff --git a/docs/css/styles.css b/docs/css/styles.css index 8d9e1d8..eed770e 100644 --- a/docs/css/styles.css +++ b/docs/css/styles.css @@ -687,7 +687,7 @@ h1 svg { } /* inline demos */ -.demo-container { +.demo-inner { border-top: 1px solid; border-bottom: 1px solid; padding: 1.5rem 0 0; diff --git a/docs/patterns/coding/writing-inline-demos/index.html b/docs/patterns/coding/writing-inline-demos/index.html index 038e3fd..988fddf 100644 --- a/docs/patterns/coding/writing-inline-demos/index.html +++ b/docs/patterns/coding/writing-inline-demos/index.html @@ -425,7 +425,10 @@ toggle.addEventListener('click', (e) => {
-
+
+
+ +
- -