File tree Expand file tree Collapse file tree 1 file changed +22
-8
lines changed
src/app/components/client/stories Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,28 @@ const ModalDialog = (props: ModalDialogProps) => {
4646 </ Dialog >
4747 ) : (
4848 < >
49- < p >
50- This is modal content; note that it's not possible to
51- interact with the content behind the modal overlay. Here's
52- a button to close the modal:
53- </ p >
54- < Button variant = "primary" onPress = { ( ) => modalState . close ( ) } >
55- Close modal
56- </ Button >
49+ < div
50+ style = { {
51+ display : "flex" ,
52+ flexDirection : "column" ,
53+ alignItems : "flex-start" ,
54+ gap : 16 ,
55+ } }
56+ >
57+ < p >
58+ This is modal content; note that it's not possible to
59+ interact with the content behind the modal overlay.
60+ Here's a button to close the modal:
61+ </ p >
62+ < Button variant = "primary" onPress = { ( ) => modalState . close ( ) } >
63+ Close modal
64+ </ Button >
65+ < p >
66+ Note that modal overlays aren't usually used on their
67+ own. This is merely an example to help clarify the boundaries
68+ between the Modal and Dialog components.
69+ </ p >
70+ </ div >
5771 </ >
5872 ) }
5973 </ ModalOverlay >
You can’t perform that action at this time.
0 commit comments