File tree Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Expand file tree Collapse file tree 2 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const CelebrationModal = ({
3636 < StandardModal
3737 footerNode = { (
3838 < 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 >
4040 </ ActionRow >
4141 ) }
4242 hasCloseButton = { false }
Original file line number Diff line number Diff line change @@ -86,29 +86,30 @@ const ContentIFrame = ({
8686 < iframe title = { title } { ...contentIFrameProps } data-testid = { testIDs . contentIFrame } />
8787 </ div >
8888 ) }
89- { modalOptions . isOpen &&
90- ( < ModalDialog
89+ { modalOptions . isOpen
90+ && (
91+ < ModalDialog
9192 dialogClassName = "modal-lti"
9293 onClose = { handleModalClose }
93- size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
94+ size = { modalOptions . isFullscreen ? 'fullscreen' : 'md' }
9495 isOpen
9596 hasCloseButton = { false }
9697 >
9798 < 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+ ) }
109110 </ ModalDialog . Body >
110111 </ ModalDialog >
111- ) }
112+ ) }
112113 </ >
113114 ) ;
114115} ;
You can’t perform that action at this time.
0 commit comments