Skip to content

Commit

Permalink
Removing the 'Widths' section from the OuiModal docs
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
  • Loading branch information
BigSamu committed Oct 6, 2023
1 parent a1b9029 commit ac2fc8e
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions src-docs/src/views/modal/modal_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,32 +243,5 @@ export const ModalExample = {
snippet: confirmModalLoadingSnippet,
demo: <ConfirmLoadingModal />,
},
{
title: 'Widths',
source: [
{
type: GuideSectionTypes.JS,
code: modalWidthSource,
},
],
text: (
<>
<p>
Modals start with a minimum width of <OuiCode>400px</OuiCode>, just
enough to display form rows. They will grow to fit the contents
until it reaches the specified <OuiCode>maxWidth</OuiCode>, the
default of which is set to the medium breakpoint.
</p>
<p>
If the modal is not growing wide enough to fit your contents, you
can pass a specific <OuiCode>style.width</OuiCode>, just remember
that modals will always shrink to fit the window width.
</p>
</>
),
props: { OuiModal },
snippet: modalWidthSnippet,
demo: <ModalWidth />,
},
],
};

0 comments on commit ac2fc8e

Please sign in to comment.