Skip to content

Commit 9a4dde5

Browse files
isamrishdiasbruno
authored andcommitted
[fixed] - Fix broken links of codepen in examples in docs
Signed-off-by: isamrish <[email protected]> This commit will fix broken codepen urls in examples files of docs. Those md files are following - css_classes.md - global_overrides.md - inline_styles.md - minimal.md - on_request_close.md - should_close_on_overlay_click.md
1 parent 5189e5b commit 9a4dde5

6 files changed

+7
-8
lines changed

docs/examples/css_classes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ If you prefer to use CSS to handle styling the modal you can.
44

55
One thing to note is that by using the className property you will override all default styles.
66

7-
[CSS classes example](codepen://claydiffrient/KNjVrG)
7+
[CSS classes example](https://codepen.io/claydiffrient/pen/KNjVrG)

docs/examples/global_overrides.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
If you'll be using several modals and want to adjust styling for all of them in one location you can by modifying `Modal.defaultStyles`.
44

5-
[Global overrides example](codepen://claydiffrient/pNXgqQ)
5+
[Global overrides example](https://codepen.io/claydiffrient/pen/pNXgqQ)

docs/examples/inline_styles.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This example shows how to use inline styles to adjust the modal.
44

5-
[inline styles example](codepen://claydiffrient/ZBmyKz)
5+
[inline styles example](https://codepen.io/claydiffrient/pen/ZBmyKz)

docs/examples/minimal.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
This example shows the minimal needed to get React Modal to work.
44

5-
[Minimal example](codepen://claydiffrient/KNxgav)
5+
[Minimal example](https://codepen.io/claydiffrient/pen/KNxgav)

docs/examples/on_request_close.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@ This is especially important for handling closing the modal via the escape key.
66

77
Also more important if `shouldCloseOnOverlayClick` is set to `true`, when clicked on overlay it calls `onRequestClose`.
88

9-
10-
[onRequestClose example](codepen://claydiffrient/KNjVBx)
9+
[onRequestClose example](https://codepen.io/claydiffrient/pen/KNjVBx)

docs/examples/should_close_on_overlay_click.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ it requires the `onRequestClose` to be defined in order to close the <Modal/>.
55
This is due to the fact that the `react-modal` doesn't store the `isOpen`
66
on its state (only for the internal `portal` (see [ModalPortal.js](https://github.com/reactjs/react-modal/blob/master/src/components/ModalPortal.js)).
77

8-
[disable 'close on overlay click', codepen by claydiffrient](codepen://claydiffrient/woLzwo)
8+
[disable 'close on overlay click', codepen by claydiffrient](https://codepen.io/claydiffrient/pen/woLzwo)
99

10-
[enable 'close on overlay click', codepen by sbgriffi](codepen://sbgriffi/WMyBaR)
10+
[enable 'close on overlay click', codepen by sbgriffi](https://codepen.io/sbgriffi/pen/WMyBaR)

0 commit comments

Comments
 (0)