From 8ada5d9c6fa885ae710b264cd670260838610d72 Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Sun, 6 Aug 2017 11:02:44 +0100 Subject: [PATCH] rejigged figure for caption --- content/patterns/coding/writing-inline-demos.md | 2 +- docs/css/styles.css | 2 +- docs/patterns/coding/writing-inline-demos/index.html | 8 +++++--- docs/print-version/index.html | 8 +++++--- docs/service-worker.js | 2 +- themes/infusion/layouts/shortcodes/demo.html | 6 ++++-- themes/infusion/static/css/styles.css | 2 +- 7 files changed, 18 insertions(+), 12 deletions(-) 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) => {
-
+
+
+ +
- -