From ac2fc8e06bb6aab46fb2ff2ba847f6d8b81f8d45 Mon Sep 17 00:00:00 2001 From: Samuel Valdes Gutierrez Date: Fri, 6 Oct 2023 17:00:56 +0100 Subject: [PATCH] Removing the 'Widths' section from the OuiModal docs Signed-off-by: Samuel Valdes Gutierrez --- src-docs/src/views/modal/modal_example.js | 27 ----------------------- 1 file changed, 27 deletions(-) diff --git a/src-docs/src/views/modal/modal_example.js b/src-docs/src/views/modal/modal_example.js index 3be6b6d439..9cc1c2bb6d 100644 --- a/src-docs/src/views/modal/modal_example.js +++ b/src-docs/src/views/modal/modal_example.js @@ -243,32 +243,5 @@ export const ModalExample = { snippet: confirmModalLoadingSnippet, demo: , }, - { - title: 'Widths', - source: [ - { - type: GuideSectionTypes.JS, - code: modalWidthSource, - }, - ], - text: ( - <> -

- Modals start with a minimum width of 400px, just - enough to display form rows. They will grow to fit the contents - until it reaches the specified maxWidth, the - default of which is set to the medium breakpoint. -

-

- If the modal is not growing wide enough to fit your contents, you - can pass a specific style.width, just remember - that modals will always shrink to fit the window width. -

- - ), - props: { OuiModal }, - snippet: modalWidthSnippet, - demo: , - }, ], };