From 5e2d76894b571842df1b9b95dde6b4fc9b871464 Mon Sep 17 00:00:00 2001 From: Jon McClure Date: Wed, 20 Sep 2023 18:31:09 +0100 Subject: [PATCH] Article docs --- src/components/Article/stories/docs/component.md | 4 ++-- src/components/Article/stories/docs/customWellWidths.md | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/Article/stories/docs/component.md b/src/components/Article/stories/docs/component.md index 4424017c..1ca1c688 100644 --- a/src/components/Article/stories/docs/component.md +++ b/src/components/Article/stories/docs/component.md @@ -7,7 +7,7 @@ The `Article` component contains all the content of our story and also establish import { Article } from '@reuters-graphics/graphics-components'; -
+
-
+
``` diff --git a/src/components/Article/stories/docs/customWellWidths.md b/src/components/Article/stories/docs/customWellWidths.md index db2a9b70..feab9be3 100644 --- a/src/components/Article/stories/docs/customWellWidths.md +++ b/src/components/Article/stories/docs/customWellWidths.md @@ -8,8 +8,6 @@ The `Article` component also creates several column dimensions inside our articl - `widest` Edge-to-edge, but _excluding_ the left and right padding on `Article` - `fluid` Fully edge-to-edge -(Check out the below demo in the "Canvas" tab to better see the wider differences.) - When combined with the `Block` component, you can set custom column widths by passing an object to the `columnWidths` prop with pixel values for the `narrower`, `narrow`, `normal`, `wide` and `wider` column widths. > **For most pages, you shouldn't customise the column widths.** Other tools, like our AI templates, use our default column widths, so customising those widths here has downstream consequences for graphics made outside your code. The main exception is SREP stories.