From d70d4596f4d1c887f62a6d83025cf3e990521667 Mon Sep 17 00:00:00 2001 From: Cee Chen <549407+cee-chen@users.noreply.github.com> Date: Mon, 11 Dec 2023 23:44:06 -0800 Subject: [PATCH] [docs][EuiFlexGroup] Fix example order/organization (#7414) --- src-docs/src/views/flex/flex_example.js | 44 ++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src-docs/src/views/flex/flex_example.js b/src-docs/src/views/flex/flex_example.js index 30dbde0c4ec..9fd7a0e7c83 100644 --- a/src-docs/src/views/flex/flex_example.js +++ b/src-docs/src/views/flex/flex_example.js @@ -362,28 +362,6 @@ export const FlexExample = { ), }, - { - title: 'Allowing flex items to wrap', - source: [ - { - type: GuideSectionTypes.JS, - code: flexGroupWrapSource, - }, - ], - text: ( -

- You can set wrap on EuiFlexGroup{' '} - if it contains EuiFlexItems with minimum widths, - which you want to wrap as the container becomes narrower. -

- ), - snippet: flexGroupWrap, - demo: ( - - - - ), - }, { source: [ { @@ -455,6 +433,28 @@ export const FlexExample = { ), }, + { + title: 'Allowing flex items to wrap', + source: [ + { + type: GuideSectionTypes.JS, + code: flexGroupWrapSource, + }, + ], + text: ( +

+ You can set wrap on EuiFlexGroup{' '} + if it contains EuiFlexItems with minimum widths, + which you want to wrap as the container becomes narrower. +

+ ), + snippet: flexGroupWrap, + demo: ( + + + + ), + }, { title: 'Responsive flex groups', source: [