File tree 2 files changed +17
-16
lines changed
2 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const CelebrationModal = ({
36
36
< StandardModal
37
37
footerNode = { (
38
38
< ActionRow isStacked className = "pb-2" >
39
- < Button className = "btn-primary" onClick = { onClose } > { intl . formatMessage ( messages . forward ) } </ Button >
39
+ < Button className = "btn-primary" onClick = { onClose } > { intl . formatMessage ( messages . forward ) } </ Button >
40
40
</ ActionRow >
41
41
) }
42
42
hasCloseButton = { false }
Original file line number Diff line number Diff line change @@ -75,29 +75,30 @@ const ContentIFrame = ({
75
75
< iframe title = { title } { ...contentIFrameProps } data-testid = { testIDs . contentIFrame } />
76
76
</ div >
77
77
) }
78
- { modalOptions . isOpen &&
79
- ( < ModalDialog
78
+ { modalOptions . isOpen
79
+ && (
80
+ < ModalDialog
80
81
dialogClassName = "modal-lti"
81
82
onClose = { handleModalClose }
82
- size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
83
+ size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
83
84
isOpen
84
85
hasCloseButton = { false }
85
86
>
86
87
< ModalDialog . Body className = { modalOptions . modalBodyClassName } >
87
- { modalOptions . body
88
- ? < div className = "unit-modal" > { modalOptions . body } </ div >
89
- : (
90
- < iframe
91
- title = { modalOptions . title }
92
- allow = { IFRAME_FEATURE_POLICY }
93
- frameBorder = "0"
94
- src = { modalOptions . url }
95
- style = { { width : '100%' , height : modalOptions . height } }
96
- />
97
- ) }
88
+ { modalOptions . body
89
+ ? < div className = "unit-modal" > { modalOptions . body } </ div >
90
+ : (
91
+ < iframe
92
+ title = { modalOptions . title }
93
+ allow = { IFRAME_FEATURE_POLICY }
94
+ frameBorder = "0"
95
+ src = { modalOptions . url }
96
+ style = { { width : '100%' , height : modalOptions . height } }
97
+ />
98
+ ) }
98
99
</ ModalDialog . Body >
99
100
</ ModalDialog >
100
- ) }
101
+ ) }
101
102
</ >
102
103
) ;
103
104
} ;
You can’t perform that action at this time.
0 commit comments