Skip to content

Commit

Permalink
[docs][EuiFlexGroup] Fix example order/organization (#7414)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Dec 12, 2023
1 parent 766f3bf commit d70d459
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions src-docs/src/views/flex/flex_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,28 +362,6 @@ export const FlexExample = {
</FlexItemHighlightWrapper>
),
},
{
title: 'Allowing flex items to wrap',
source: [
{
type: GuideSectionTypes.JS,
code: flexGroupWrapSource,
},
],
text: (
<p>
You can set <EuiCode>wrap</EuiCode> on <strong>EuiFlexGroup</strong>{' '}
if it contains <strong>EuiFlexItems</strong> with minimum widths,
which you want to wrap as the container becomes narrower.
</p>
),
snippet: flexGroupWrap,
demo: (
<FlexItemHighlightWrapper>
<FlexGroupWrap />
</FlexItemHighlightWrapper>
),
},
{
source: [
{
Expand Down Expand Up @@ -455,6 +433,28 @@ export const FlexExample = {
</FlexItemHighlightWrapper>
),
},
{
title: 'Allowing flex items to wrap',
source: [
{
type: GuideSectionTypes.JS,
code: flexGroupWrapSource,
},
],
text: (
<p>
You can set <EuiCode>wrap</EuiCode> on <strong>EuiFlexGroup</strong>{' '}
if it contains <strong>EuiFlexItems</strong> with minimum widths,
which you want to wrap as the container becomes narrower.
</p>
),
snippet: flexGroupWrap,
demo: (
<FlexItemHighlightWrapper>
<FlexGroupWrap />
</FlexItemHighlightWrapper>
),
},
{
title: 'Responsive flex groups',
source: [
Expand Down

0 comments on commit d70d459

Please sign in to comment.