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 @@ -35,7 +35,7 @@ const CelebrationModal = ({
35
35
< StandardModal
36
36
footerNode = { (
37
37
< ActionRow isStacked className = "pb-2" >
38
- < Button className = "btn-primary" onClick = { onClose } > { intl . formatMessage ( messages . forward ) } </ Button >
38
+ < Button className = "btn-primary" onClick = { onClose } > { intl . formatMessage ( messages . forward ) } </ Button >
39
39
</ ActionRow >
40
40
) }
41
41
hasCloseButton = { false }
Original file line number Diff line number Diff line change @@ -86,29 +86,30 @@ const ContentIFrame = ({
86
86
< iframe title = { title } { ...contentIFrameProps } data-testid = { testIDs . contentIFrame } />
87
87
</ div >
88
88
) }
89
- { modalOptions . isOpen &&
90
- ( < ModalDialog
89
+ { modalOptions . isOpen
90
+ && (
91
+ < ModalDialog
91
92
dialogClassName = "modal-lti"
92
93
onClose = { handleModalClose }
93
- size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
94
+ size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
94
95
isOpen
95
96
hasCloseButton = { false }
96
97
>
97
98
< ModalDialog . Body className = { modalOptions . modalBodyClassName } >
98
- { modalOptions . body
99
- ? < div className = "unit-modal" > { modalOptions . body } </ div >
100
- : (
101
- < iframe
102
- title = { modalOptions . title }
103
- allow = { IFRAME_FEATURE_POLICY }
104
- frameBorder = "0"
105
- src = { modalOptions . url }
106
- style = { { width : '100%' , height : modalOptions . height } }
107
- />
108
- ) }
99
+ { modalOptions . body
100
+ ? < div className = "unit-modal" > { modalOptions . body } </ div >
101
+ : (
102
+ < iframe
103
+ title = { modalOptions . title }
104
+ allow = { IFRAME_FEATURE_POLICY }
105
+ frameBorder = "0"
106
+ src = { modalOptions . url }
107
+ style = { { width : '100%' , height : modalOptions . height } }
108
+ />
109
+ ) }
109
110
</ ModalDialog . Body >
110
111
</ ModalDialog >
111
- ) }
112
+ ) }
112
113
</ >
113
114
) ;
114
115
} ;
You can’t perform that action at this time.
0 commit comments