From 39392081edf48726a909198f5fd2c42c550c8f6f Mon Sep 17 00:00:00 2001 From: Heydon Pickering Date: Fri, 28 Jul 2017 15:04:58 +0100 Subject: [PATCH] minor tweaks to content --- content/patterns/coding/writing-inline-demos.md | 1 + content/patterns/writing/expandable-sections.md | 4 ++++ docs/patterns/coding/writing-inline-demos/index.html | 7 ++++--- docs/patterns/writing/expandable-sections/index.html | 11 +++++++++++ docs/service-worker.js | 2 +- 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/content/patterns/coding/writing-inline-demos.md b/content/patterns/coding/writing-inline-demos.md index be5bb8b..bfb5b8e 100644 --- a/content/patterns/coding/writing-inline-demos.md +++ b/content/patterns/coding/writing-inline-demos.md @@ -51,6 +51,7 @@ button { background: DarkCyan; color: white; border: 0; + border-radius: 0.25em; font-size: 1.5rem; padding: 0.5em 1em; border-right: 5px solid #000; diff --git a/content/patterns/writing/expandable-sections.md b/content/patterns/writing/expandable-sections.md index 3dd01f3..8ce2a5d 100644 --- a/content/patterns/writing/expandable-sections.md +++ b/content/patterns/writing/expandable-sections.md @@ -42,3 +42,7 @@ Unfortunately, it is not currently possible to include shortcodes inside other s <p>Here is a pattern reference shortcode: {{% pattern "Writing inline demos" %}}.</p> {{</expandable>}} {{}} + +{{% note %}} +When you go to print a pattern from your library, some print styles take care of collapsible sections, making them appear expanded and like any other section. +{{% /note %}} diff --git a/docs/patterns/coding/writing-inline-demos/index.html b/docs/patterns/coding/writing-inline-demos/index.html index db27724..e4e2724 100644 --- a/docs/patterns/coding/writing-inline-demos/index.html +++ b/docs/patterns/coding/writing-inline-demos/index.html @@ -341,10 +341,10 @@ toggle.addEventListener('click', (e) => {
- + -